spinalcordtoolbox / manual-correction

Scripts for the manual correction of spinal cord labels
MIT License
4 stars 0 forks source link

`manual_correction.py` - add option to update `json` sidecars #3

Closed naga-karthik closed 1 year ago

naga-karthik commented 1 year ago

It would be useful to have a function that updates the existing json sidecars existing in the derivatives folder instead of creating a new one or overwriting the existing ones.

This is important because if we modify the segmentations, then, the names of the author modifying the dataset along with the original author of the segmentations should exist in the json sidecar (the current script creates a new json file with the name of the modifying author).

valosekj commented 1 year ago

Excellent point, Naga! Agree.

valosekj commented 1 year ago

Closing --> further discussion in the parallel issue: https://github.com/spinalcordtoolbox/manual-correction/issues/34