Skip to content

Commit 4624038

Browse files
committed
TEST: Fix double call and skip check for fslmaths
1 parent e6c972e commit 4624038

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

smriprep/interfaces/tests/test_surf.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@ def test_MakeRibbon(tmp_path):
2828

2929
ribbon = nb.load(result.outputs.ribbon)
3030
expected = nb.load(
31-
load_resource(
32-
load_resource(
33-
"../interfaces/tests/data/sub-fsaverage_res-4_desc-cropped_ribbon.nii.gz"
34-
)
35-
)
31+
load_resource("../interfaces/tests/data/sub-fsaverage_res-4_desc-cropped_ribbon.nii.gz")
3632
)
3733

3834
assert ribbon.shape == expected.shape

smriprep/workflows/tests/test_surfaces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
def test_ribbon_workflow(tmp_path: Path):
1515
"""Create ribbon mask for fsaverage subject"""
1616

17-
for command in ("mris_convert", "wb_command", "fslmaths"):
17+
for command in ("mris_convert", "wb_command"):
1818
if not which(command):
1919
pytest.skip(f"Could not find {command} in PATH")
2020

0 commit comments

Comments
 (0)