Closed synchon closed 3 months ago
Needs to go before #344
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
299b471
) to head (f8f2c9f
).
PR Preview Action v1.4.7 :---: Preview removed because the pull request was closed. 2024-05-22 17:37 UTC
This PR adds support for specifying Unix path expansion directives like
[], [!]
forPatternDataGrabber
patterns. This is an improvement which is needed for supportingFreeSurfer
data type. For example,fsaverage
directory is at the same level as subjects likesub-0001
for AOMIC datasets and[!f]
allows to not glob thefsaverage
directory without overridingget_elements()
method. As the.mgz
and other outputs ofFreeSurfer
are 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.