nipreps / sdcflows

Susceptibility Distortion Correction (SDC) workflows for EPI MR schemes
https://www.nipreps.org/sdcflows
Apache License 2.0
31 stars 24 forks source link

FIX: Update suffix only when finding related fieldmap files #436

Closed marcelzwiers closed 5 months ago

marcelzwiers commented 5 months ago

SDCflows wants to replace the suffix but also accidentally replaces substrings elsewhere in the filename (e.g. in files named sub-01-acq-fieldmap_magnitude1.nii.gz). This PR fixes that -- see also github issue #264