Skip to content

Commit

Permalink
Fix create_json usage when using '-add-seg-only' arg
Browse files Browse the repository at this point in the history
  • Loading branch information
valosekj committed Mar 2, 2023
1 parent 461f54a commit 17980c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manual_correction.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,8 @@ def main():
else:
# create json sidecar with the name of the expert rater
if args.add_seg_only:
create_json(fname_label, name_rater, modified)
# We are passing modified=True because we are adding a new segmentation
create_json(fname_label, name_rater, modified=True)
else:
modified = check_if_modified(time_one, time_two)
create_json(fname_label, name_rater, modified)
Expand Down

0 comments on commit 17980c6

Please sign in to comment.