Author Topic: BatchPreprocessing Script overwriting files  (Read 2710 times)

Offline lukepower

  • Newcomer
  • Posts: 4
BatchPreprocessing Script overwriting files
« on: 2014 August 05 12:02:09 »
Hi there,

I am often using the BatchPreprocessing script to do the calibration of my raws,py with it. The only glitch I sometimes have is that it doesn't recognize files which have the same name and thus they get overwritten during the processing (that is, the output files may get overwritten). The reason is that I have the files in different directories (depending on the date of imaging), named like:
M57_lum_001.fits
M57_lum_002.fits

Inserting all those files in BatchPreprocessing will result in the result files being overwritten each time a file with the same name exists. It would be great if some kind of logic would be here to avoid this and do an automatic rename (like appending a number or something to the file).

Thanks

Lukas