Skip to content

Attach ListAllAvailableImages only to anatomy Class terms#60

Merged
Robbie1977 merged 2 commits into
mainfrom
fix/listallimages-class-only
Jun 29, 2026
Merged

Attach ListAllAvailableImages only to anatomy Class terms#60
Robbie1977 merged 2 commits into
mainfrom
fix/listallimages-class-only

Conversation

@Robbie1977

Copy link
Copy Markdown
Contributor

Gate ListAllAvailableImages (which runs get_instances and is declared for Class+Anatomy) so it is only attached to anatomy Class terms.

It was being added inside the anatomy_channel_image block for any term with example images, ignoring its own criteria — so DataSets/Individuals with images (e.g. Otto2020) got a spurious "List all available images" query alongside the correct DatasetImages.

Verified: Otto2020 (DataSet) → now only DatasetImages; medulla (FBbt_00003748, Class+Anatomy) → still has ListAllAvailableImages + the rest.

@Robbie1977 Robbie1977 merged commit 3759586 into main Jun 29, 2026
3 of 4 checks passed
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.

1 participant