Skip to content

Commit

Permalink
Fix bug with surfaces and external atlases (PennLINC#1304)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo authored Oct 24, 2024
1 parent 16b16f7 commit e842748
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xcp_d/utils/atlas.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ def select_atlases(atlases, subset):
)
subset_atlases = BUILTIN_ATLASES[subset]
if atlases:
assert all([atlas in BUILTIN_ATLASES["all"] for atlas in atlases])
external_atlases = [atlas for atlas in atlases if atlas not in BUILTIN_ATLASES["all"]]
selected_atlases = [atlas for atlas in atlases if atlas in subset_atlases]
selected_atlases += external_atlases
else:
selected_atlases = subset_atlases

Expand Down

0 comments on commit e842748

Please sign in to comment.