Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Oct 12, 2024
1 parent 8fa7c39 commit 18b8e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdcflows/fieldmaps.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def __attrs_post_init__(self):
raise TypeError(f"Incompatible suffixes found: <{','.join(fmap_types)}>.")

# Check for MEDIC
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):
fmap_types = set(list(fmap_types) + ["medic"])

Check warning on line 325 in sdcflows/fieldmaps.py

View check run for this annotation

Codecov / codecov/patch

sdcflows/fieldmaps.py#L325

Added line #L325 was not covered by tests

if fmap_types:
Expand Down

0 comments on commit 18b8e09

Please sign in to comment.