Skip to content

Commit

Permalink
fix logical error
Browse files Browse the repository at this point in the history
  • Loading branch information
akhanf committed Dec 9, 2024
1 parent 0222393 commit 2d0b10c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions hippunfold/workflow/rules/nnunet.smk
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit 2d0b10c

Please sign in to comment.