Skip to content

Commit

Permalink
Add 'SpatialReference': 'orig' key-value pair based on #76 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
valosekj committed Jan 30, 2024
1 parent e9416f6 commit bbfb650
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 @@ -520,7 +520,8 @@ def update_json(fname_nifti, name_rater, modified):
# If the json file does not exist, initialize a new one
else:
# Init new json dict
json_dict = {'GeneratedBy': []}
json_dict = {'SpatialReference': 'orig',
'GeneratedBy': []}

# If the label was modified, add "Note": "Manually corrected" to the JSON sidecar
if modified:
Expand Down

0 comments on commit bbfb650

Please sign in to comment.