Skip to content
Snippets Groups Projects
Commit ffc024ec authored by Vlad Kondratiev's avatar Vlad Kondratiev
Browse files

placing *_ldv_psrfits_requantisation.log file to the top workdir

parent 042e8f9f
Branches
Tags
Loading
Pipeline #49448 passed
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment