Skip to content
Snippets Groups Projects
Commit 867c7b08 authored by Johannes Schumann's avatar Johannes Schumann
Browse files

fix wrong datetime variable name

parent 314f1eb1
No related branches found
No related tags found
No related merge requests found
Pipeline #17373 passed with warnings
......@@ -434,7 +434,7 @@ def write_detector_file(gibuu_output,
timestamp = datetime.now()
header_dct["simul"] = "KM3BUU %s %s".format(version,
now.strftime("%Y%m%d %H%M%S"))
timestamp.strftime("%Y%m%d %H%M%S"))
header_dct["can"] = "{:.1f} {:.1f} {:.1f}".format(*can)
header_dct["tgen"] = "{:.1f}".format(livetime)
header_dct["flux"] = "{:d} 0 0".format(nu_type)
......
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