spinalcordtoolbox / manual-correction

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

Check if label file exists before starting the script #23

Closed valosekj closed 1 year ago

valosekj commented 1 year ago

check_files_exist currently checks only if the image but not if the label file exists

https://github.com/spinalcordtoolbox/manual-correction/blob/b3f9e5ea06139a70510b23d24ea9a87ce1788027/utils.py#L198-L204