Skip to content

Commit

Permalink
Fix 'correct_segmentation' function args passing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
valosekj committed Mar 14, 2023
1 parent 40acf7a commit 10ed254
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manual_correction.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,11 +624,11 @@ def main():
if task in ['FILES_SEG', 'FILES_GMSEG']:
if not args.add_seg_only:
time_one = get_modification_time(fname_label)
correct_segmentation(fname, fname_other_contrast, fname_label, args.viewer, param_fsleyes)
correct_segmentation(fname, fname_label, fname_other_contrast, args.viewer, param_fsleyes)
time_two = get_modification_time(fname_label)
elif task == 'FILES_LESION':
time_one = get_modification_time(fname_label)
correct_segmentation(fname, fname_other_contrast, fname_label, args.viewer, param_fsleyes)
correct_segmentation(fname, fname_label, fname_other_contrast, args.viewer, param_fsleyes)
time_two = get_modification_time(fname_label)
elif task == 'FILES_LABEL':
time_one = get_modification_time(fname_label)
Expand Down

0 comments on commit 10ed254

Please sign in to comment.