Closed NathanMolinier closed 1 year ago
Replace all the os.system shell calls with subprocess.check_call to catch keyboard interrupts to stop the code
os.system
subprocess.check_call
Thanks!
Tested using:
$ python manual_correction.py -path-img whole-spine -config whole-spine/config.yml -path-out test_folder
I just fixed some indentation formatting.
Description
Replace all the
os.system
shell calls withsubprocess.check_call
to catch keyboard interrupts to stop the code