BICCN / cell-locator

manually align specimens to annotated 3D spaces
https://cell-locator.readthedocs.io
Other
18 stars 7 forks source link

Add support for working with new atlases #196

Open jcfr opened 2 years ago

jcfr commented 2 years ago

What's the problem this feature will solve?

Supporting new type of atlases currently require engineering work and user can not easily load other type of atlases (e.g macaque)

Describe the solution you'd like

To support new atlas like the macaque without updating the code base, we need to:

Alternative Solutions NA

Additional context NA

allemangD commented 2 years ago

Will need to add some atlas metadata to the root level of the JSON file. Key parts are atlas ID and checksum.

Need to isolate the "atlas loading" logic into some class, probably AtlasLogic or similar, that Annotations.fromDict can use to create its own atlas rather than depending on HomeWidget.logic. See https://github.com/BICCN/cell-locator/pull/209#issue-1159903528.