Skip to content

Commit 1a61fbe

Browse files
authored
Merge branch 'master' into fmapid
2 parents 5f4a5b6 + 357ef3e commit 1a61fbe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sdcflows/fieldmaps.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,9 @@ def __attrs_post_init__(self):
340340
try:
341341
new_path = (
342342
sources[0].parent / sources[0].name
343-
.replace("fieldmap", "magnitude")
344-
.replace("diff", "1")
345-
.replace("phase", "magnitude")
343+
.replace("_fieldmap", "_magnitude")
344+
.replace("_phasediff", "_phase1")
345+
.replace("_phase", "_magnitude")
346346
)
347347
self.sources.append(FieldmapFile(new_path))
348348
except Exception:

0 commit comments

Comments
 (0)