Skip to content

Commit d2877b0

Browse files
committed
Update fieldmaps.py
1 parent 6b7b416 commit d2877b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdcflows/fieldmaps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def __attrs_post_init__(self):
321321
raise TypeError(f"Incompatible suffixes found: <{','.join(fmap_types)}>.")
322322

323323
# Check for MEDIC
324-
if "part-mag" in self.sources[0].path:
324+
if "part-mag" in self.sources[0].path and "echo-" in self.sources[0].path:
325325
fmap_types = set(list(fmap_types) + ["medic"])
326326

327327
if fmap_types:

0 commit comments

Comments
 (0)