[ENH]: Unix path expansion directives support for PatternDataGrabber #345
No reviewers
Labels
No labels
CRITICAL
Stale
WIP
bug
concept
coordinate
dataset
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
maintenance
maps
marker
mask
on hold
parcellation
preprocess
question
ready
storage
template-space
triage
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
juaml/junifer!345
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/unix-path-expansion-pattern-dg"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR adds support for specifying Unix path expansion directives like
[], [!]forPatternDataGrabberpatterns. This is an improvement which is needed for supportingFreeSurferdata type. For example,fsaveragedirectory is at the same level as subjects likesub-0001for AOMIC datasets and[!f]allows to not glob thefsaveragedirectory without overridingget_elements()method. As the.mgzand other outputs ofFreeSurferare not unique by subject (and/or task / session) prefix, globbing doesn't work as usual (at least for the AOMIC datasets). This also enables one to have the pattern:.../T1.mg[z]to make it work.Needs to go before #344
Codecov Report
All modified and coverable lines are covered by tests ✅
Additional details and impacted files
100.00% <ø> (ø)Flags with carried forward coverage won't be shown. Click here to find out more.
Can you also improve the docs to reflect this change?