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

Fix: get_region(spec) exact match if spec is a region key #598

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

AhmetNSimsek
Copy link
Collaborator

import siibra
p = siibra.parcellations['julich 3.1']
p.get_region('LP (Thalamus, lateral posterior Nucleus) right')

expected:

<Region(identifier='minds/core/parcellationatlas/v1.0.0/94c1125b-b87e-45e4-901c-00daee7f2579-310_LP_THALAMUS_LATERAL_POSTERIOR_NUCLEUS_RIGHT', name='LP (Thalamus, lateral posterior Nucleus) right', species='Homo sapiens')>

but it was raising RuntimeError. This PR fixes this issue.

@AhmetNSimsek AhmetNSimsek merged commit e791ee6 into main Oct 14, 2024
34 of 35 checks passed
@AhmetNSimsek AhmetNSimsek deleted the fix_get_region_exact_key_match branch October 14, 2024 15:11
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