Skip to content

brainglobe-atlasapi V3 compatibility - #282

Merged
adamltyson merged 2 commits into
mainfrom
v3-compatibility
Jul 21, 2026
Merged

brainglobe-atlasapi V3 compatibility#282
adamltyson merged 2 commits into
mainfrom
v3-compatibility

Conversation

@IgorTatarnikov

Copy link
Copy Markdown
Member

Before submitting a pull request (PR), please read the contributing guide.

Please fill out as much of this template as you can, but if you have any problems or questions, just leave a comment and we will help out :)

Description

What is this PR

  • Bug fix
  • Addition of a new feature
  • Other

Why is this PR needed?
See #280

What does this PR do?
Change the way available atlases are fetched for the dropdown to use get_all_atlases_last_versions().
Sets aiobotocore and botocore debugging level to INFO.
Ensures the example_mouse_100um is used for testing.

References

Closes #280

How has this PR been tested?

Tested locally with brainglobe-atlasapi==3.0.0rc1 and brainglobe-atlasapi==2.3.1. All tests pass.

Is this a breaking change?

No

Does this PR require an update to the documentation?

No

Checklist:

  • The code has been tested locally
  • The code has been formatted with pre-commit

Copilot AI review requested due to automatic review settings July 21, 2026 12:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the napari registration plugin to populate the atlas dropdown using brainglobe_atlasapi.list_atlases.get_all_atlases_lastversions() (to support brainglobe-atlasapi v3 behavior), and adjusts the napari workflow test to explicitly select example_mouse_100um to avoid relying on dropdown default ordering.

Changes:

  • Replace the previous remote-config atlas listing logic with get_all_atlases_lastversions() in the napari plugin.
  • Update the napari integration workflow test to set the atlas explicitly to example_mouse_100um.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
brainreg/napari/register.py Switch atlas list source used to build the dropdown to get_all_atlases_lastversions().
tests/test_brainreg_napari.py Explicitly selects example_mouse_100um in the napari workflow test to stabilize expectations.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread brainreg/napari/register.py
Comment thread brainreg/napari/register.py
@IgorTatarnikov
IgorTatarnikov requested a review from a team July 21, 2026 13:05
@adamltyson
adamltyson merged commit acf8379 into main Jul 21, 2026
17 checks passed
@adamltyson
adamltyson deleted the v3-compatibility branch July 21, 2026 13:43
@IgorTatarnikov IgorTatarnikov changed the title Uses get_all_atlases_last_versions to build the dropdown brainglobe-atlasapi V3 compatibility Jul 21, 2026
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.

[Feature] Compatibiltiy with brainglobe-atlasapi V3

3 participants