diff --git a/bf_pulp_utils/bf_pulp_utils/psrfits_requantisation.py b/bf_pulp_utils/bf_pulp_utils/psrfits_requantisation.py index b21d6ecceaf44088bd37e8bb381d82ba2240be7a..8615518fcf6cb1c02a81d14389b52109dfe8358d 100644 --- a/bf_pulp_utils/bf_pulp_utils/psrfits_requantisation.py +++ b/bf_pulp_utils/bf_pulp_utils/psrfits_requantisation.py @@ -179,6 +179,8 @@ def main(): # renaming new converted fitsfile to the original name print("Renaming %s_0001.fits to %s.fits" % (outputbase, outputbase)) os.rename("%s_0001.fits" % (outputbase), "%s.fits" % (outputbase)) + # copying *_ldv_psrfits_requantisation.log to the workdir + os.system("cp %s %s/" % (logfile, workdir)) # adding new files to 'to_add' list and original file to 'to_delete' list to_add.append("%s.fits" % (outputbase)) to_add.append(logfile)