sousasag / ARES

ARES - Automatic Routine for line Equivalent widths in stellar Spectra
11 stars 3 forks source link

Remove plotdir #4

Closed DanielAndreasen closed 8 years ago

DanielAndreasen commented 8 years ago

I have problems with removal of plotdir.

I'm getting the following error:

tar: plotdir/*.dat: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
tar: plotdir/*.png: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors

The code runs, but it is annoying to look at the output. Is it possible to check if files exist before removing them? And should plotdir even be created when plots_flag=0?

sousasag commented 8 years ago

Done.

Forgot to fix that in the last change of ARES. Thanks.

DanielAndreasen commented 8 years ago

Thank you, it works. Fixed with commit c4d86eb3c88b (<-- some cool github stuff).