GOALS-survey / CAFE

Spectral decomposition that works for astronomical data
Other
10 stars 5 forks source link

Output directory creation refactor #53

Closed privong closed 7 months ago

privong commented 7 months ago

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.