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

Fix bug by mixed up string format methods

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