Skip to content
Snippets Groups Projects
Commit 9d3919ae authored by Steffen Hauf's avatar Steffen Hauf
Browse files

Clean outdated files

parent f8d54a3b
No related branches found
No related tags found
1 merge request!5Clean
...@@ -116,7 +116,7 @@ def make_report(run_path, tmp_path, out_path, project, author, version): ...@@ -116,7 +116,7 @@ def make_report(run_path, tmp_path, out_path, project, author, version):
print(f) print(f)
shutil.copy(f, out_path) shutil.copy(f, out_path)
print("Removing temporary files at: {}".format(tmp_path)) print("Removing temporary files at: {}".format(tmp_path))
#shutil.rmtree(tmp_path) # shutil.rmtree(tmp_path)
def finalize(joblist, run_path, out_path, project, calibration, author, version): def finalize(joblist, run_path, out_path, project, calibration, author, version):
...@@ -264,4 +264,4 @@ def get_dir_creation_date(directory, run): ...@@ -264,4 +264,4 @@ def get_dir_creation_date(directory, run):
creation_time = os.stat("{}/r{:04d}".format(directory, run)).st_ctime creation_time = os.stat("{}/r{:04d}".format(directory, run)).st_ctime
creation_time = datetime.datetime.fromtimestamp(creation_time) creation_time = datetime.datetime.fromtimestamp(creation_time)
return(creation_time) return(creation_time)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment