In the script manual_correction.py, to call ITK-SNAP, the command line is different for macOS and on windows. Right now, the script checks only if itksnap command exists and runs the command for windows ITK-SNAP if not.
The purpose of this issue is to:
Check if the command ITK-SNAP exists before running it.
Raise an exception if none of the commands work. (Say to user to check if itk-snap is installed and if it was added to PATH variable)
Description
In the script
manual_correction.py
, to call ITK-SNAP, the command line is different for macOS and on windows. Right now, the script checks only ifitksnap
command exists and runs the command for windowsITK-SNAP
if not.The purpose of this issue is to:
ITK-SNAP
exists before running it.PATH
variable)