brainglobe / brainglobe-registration

Registration to BrainGlobe atlases in napari using Elastix
BSD 3-Clause "New" or "Revised" License
13 stars 2 forks source link

[BUG] Changing atlas selection doesn't replace annotations layer #53

Closed IgorTatarnikov closed 2 months ago

IgorTatarnikov commented 2 months ago

Describe the bug When changing the selected atlas using the UI, the reference image of the old atlas is replaced with the new one, however the annotations layer of the old atlas remains.

To Reproduce Have at least two atlases, open the plugin and select the first atlas, then change the selection to the other atlas.

Expected behaviour Both the reference and atlas image of the old atlas are replaced with the new one

IgorTatarnikov commented 2 months ago

Closed by #49