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.
1 parent 8fa7c39 commit 18b8e09Copy full SHA for 18b8e09
sdcflows/fieldmaps.py
@@ -321,7 +321,7 @@ def __attrs_post_init__(self):
321
raise TypeError(f"Incompatible suffixes found: <{','.join(fmap_types)}>.")
322
323
# Check for MEDIC
324
- if "part-mag" in self.sources[0].path and "echo-" in self.sources[0].path:
+ if ("part-mag" in self.sources[0].path.name) and ("echo-" in self.sources[0].path.name):
325
fmap_types = set(list(fmap_types) + ["medic"])
326
327
if fmap_types:
0 commit comments