Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pin to pytorch-version of cellfinder #118

Merged
merged 2 commits into from
Jun 14, 2024
Merged

Conversation

alessandrofelder
Copy link
Member

Description

What is this PR

  • Bug fix
  • Addition of a new feature
  • Other

Why is this PR needed?

Latest release of brainglobe-workflows is incompatible with latest cellfinder, because it tries to import tensorflow-related functionality. This is fixed in the development code by #112 but not released yet.

What does this PR do?
Makes sure the next release pins to a cellfinder version >= 1.3.0, so the API between the two packages in in-sync and up-to-date.

References

\

How has this PR been tested?

Not sure how to test this 😬 I have convinced myself I have thought this through.

Is this a breaking change?

No. It's an adaptation to the latest cellfinder release.

Does this PR require an update to the documentation?

No

Checklist:

  • [ \ ] The code has been tested locally
  • [ \ ] Tests have been added to cover all new functionality (unit & integration)
  • [ \ ] The documentation has been updated to reflect any changes
  • [ \ ] The code has been formatted with pre-commit

@alessandrofelder alessandrofelder marked this pull request as ready for review June 14, 2024 09:21
Copy link
Collaborator

@willGraham01 willGraham01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth noting that the meta-package doesn't have a latest release that includes cellfinder >=1.3.0 (latest metapackage release is v1.1.0 which only pins `cellfinder >=1.2.9).

So it might also be worth bumping the brainglobe dependency to (at least) 1.1.0, maybe higher if we make a quick metapackage release.

Copy link

codecov bot commented Jun 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.83%. Comparing base (fdfbcea) to head (1434def).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #118   +/-   ##
=======================================
  Coverage   85.83%   85.83%           
=======================================
  Files          17       17           
  Lines         847      847           
=======================================
  Hits          727      727           
  Misses        120      120           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@alessandrofelder alessandrofelder merged commit f9f62ab into main Jun 14, 2024
13 checks passed
@willGraham01 willGraham01 deleted the newest-cellfinder branch June 14, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants