diff --git a/hippunfold/workflow/rules/nnunet.smk b/hippunfold/workflow/rules/nnunet.smk index 6bb452ff..ab21a4b0 100644 --- a/hippunfold/workflow/rules/nnunet.smk +++ b/hippunfold/workflow/rules/nnunet.smk @@ -20,11 +20,9 @@ def get_nnunet_input(wildcards): desc="preproc", hemi="{hemi}", ) - if ( - config["modality"] == "T1w" - or config["modality"] == "T2w" - and config["force_nnunet_model"] == "T1T2w" - ): + if (config["modality"] == "T1w" or config["modality"] == "T2w") and config[ + "force_nnunet_model" + ] == "T1T2w": return (T1w_nii, T2w_nii) elif config["modality"] == "T2w":