jacopo-chevallard / BEAGLE-general

Basic information to get started with the galaxy spectral modelling tool Beagle
https://www.iap.fr/beagle/
9 stars 0 forks source link

Is there an option to force BEAGLE to overwrite previous results? #63

Open steveschulze opened 7 years ago

steveschulze commented 7 years ago

Hi,

Is it possible to overwrite previous results?

Cheers,

Steve

jacopo-chevallard commented 7 years ago

No, there isn't currently an option to overwrite the results, you have to manually clean the result folder in order to re-run Beagle (with a modified parameter file) using the same results folder.

I'd like @eclake opinion on this as well, but from my perspective I'd prefer not to introduce such an option: overwriting the files from within Beagle could easily lead to massive data losses (i.e., files overwritten by mistake), while forcing Beagle to use the same output folder for different parameter files would lead to confusion.

We could, however, think about letting Beagle adding a default suffix (e.g. timestamp) to create a new output folder based on an existing one, so that you could edit the parameter file and run Beagle without having to clean the existing folder. Alternatively, if we want to allow overwriting of existing results, then we can add a confirmation prompt inside Beagle, but this would require a user-input after Beagle has been launched, hence creating potential problems when launching Beagle through a script