We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e460f6d + 8b46a77 commit 3b0dcdbCopy full SHA for 3b0dcdb
smriprep/workflows/anatomical.py
@@ -795,7 +795,7 @@ def init_anat_fit_wf(
795
if not have_mask:
796
LOGGER.info("ANAT Stage 2: Preparing brain extraction workflow")
797
if skull_strip_mode == "auto":
798
- run_skull_strip = all(_is_skull_stripped(img) for img in t1w)
+ run_skull_strip = not all(_is_skull_stripped(img) for img in t1w)
799
else:
800
run_skull_strip = {"force": True, "skip": False}[skull_strip_mode]
801
0 commit comments