Skip to content

Commit cc4cbb2

Browse files
committed
FIX: run_skull_strip should be boolean
1 parent 44c1d1b commit cc4cbb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smriprep/workflows/anatomical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ def init_anat_fit_wf(
794794
if skull_strip_mode == "auto":
795795
run_skull_strip = all(_is_skull_stripped(img) for img in t1w)
796796
else:
797-
run_skull_strip = {"force": True, "skip": False}
797+
run_skull_strip = {"force": True, "skip": False}[skull_strip_mode]
798798

799799
# Brain extraction
800800
if run_skull_strip:

0 commit comments

Comments
 (0)