We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68455cb commit c727935Copy full SHA for c727935
petdeface/petdeface.py
@@ -1015,8 +1015,9 @@ def main(): # noqa: max-complexity: 12
1015
full_message = f"{wrapped_message}\n\n{command_message}\n\n{bad_files_message}"
1016
1017
# Check if all problematic subjects are already in the exclude list
1018
- bad_tw1s_excluded = [t1w in args.participant_label_exclude for t1w in bad_t1w_subject_ids ]
1019
- if False in bad_t1w_subject_ids:
+ bad_t1ws_excluded = [bad in args.participant_label_exclude for bad in bad_t1w_subject_ids ]
+
1020
+ if False in bad_t1ws_excluded:
1021
raise Exception(full_message)
1022
else:
1023
print(bad_files_message)
0 commit comments