We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sub-01-acq-fieldmap_magnitude1.nii.gz
1 parent 73d717a commit a0ca25aCopy full SHA for a0ca25a
sdcflows/fieldmaps.py
@@ -340,9 +340,9 @@ def __attrs_post_init__(self):
340
try:
341
new_path = (
342
sources[0].parent / sources[0].name
343
- .replace("fieldmap", "magnitude")
344
- .replace("diff", "1")
345
- .replace("phase", "magnitude")
+ .replace("_fieldmap", "_magnitude")
+ .replace("_phasediff", "_phase1")
+ .replace("_phase", "_magnitude")
346
)
347
self.sources.append(FieldmapFile(new_path))
348
except Exception:
0 commit comments