Tanio and Thomas, this change factors out the duplicate code to create the spectral extraction directory into a function in the CRETA class. It also adds a check about whether the output directory exists before trying to create the directory. I also modified the output message that had extractions/ hard-coded; so this should now report the directory name provided by the user.
Tanio and Thomas, this change factors out the duplicate code to create the spectral extraction directory into a function in the
CRETA
class. It also adds a check about whether the output directory exists before trying to create the directory. I also modified the output message that hadextractions/
hard-coded; so this should now report the directory name provided by the user.