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

Implement a registry for cellfinder test data #1

Closed
wants to merge 4 commits into from

Conversation

alessandrofelder
Copy link

@alessandrofelder alessandrofelder commented Jun 10, 2024

Description

What is this PR

  • Bug fix
  • Addition of a new feature
  • Other

Why is this PR needed?

We'd like to keep test data on GIN and access it easily across BrainGlobe repos

What does this PR do?

  • Implements fixtures to get data from GIN through a pooch registry
  • includes a utility fixture to fetch all files that match the registry entries and are in a specific subfolder from GIN
  • adds an example test for use of these fixture

(also currently contains some changes related to this fork not being synced with the BrainGlobe one yet)

References

At least an initial attempt at brainglobe#439

How has this PR been tested?

new example test and manual inspection of my local .cache folder

Is this a breaking change?

Don't think so

Does this PR require an update to the documentation?

No, this is already in line with our developer docs (but we could expand on them there, I guess).

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

adamltyson and others added 4 commits June 7, 2024 12:38
Just to make it more obvious (i.e. not just the citation.cff file).
* Prevent zero underflow in volume.

* Update tests/core/test_integration/test_detection_structure_splitting.py

Co-authored-by: Alessandro Felder <alessandrofelder@users.noreply.github.com>

* Now that point is fully inside, it'll all shifted upward by one.

---------

Co-authored-by: Alessandro Felder <alessandrofelder@users.noreply.github.com>
@alessandrofelder alessandrofelder marked this pull request as ready for review June 10, 2024 13:49
@alessandrofelder
Copy link
Author

Closing as already implemented here and in brainglobe#440

@alessandrofelder alessandrofelder deleted the pooch-registry branch August 5, 2024 15:34
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.

3 participants