Skip to content

Commit

Permalink
autopipeline.py:164, changed or -> and
Browse files Browse the repository at this point in the history
  • Loading branch information
skim2257 committed Nov 18, 2022
1 parent ecc6939 commit f41f18d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgtools/autopipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def __init__(self,
roi_yaml_path = ""
custom_train_test_split = False
is_nnunet = False
if modalities != "CT" or modalities != "MR":
if modalities != "CT" and modalities != "MR":
raise ValueError("nnUNet inference can only be run on image files. Please set modalities to 'CT' or 'MR'")
if is_nnunet:
self.base_output_directory = self.output_directory
Expand Down

0 comments on commit f41f18d

Please sign in to comment.