Skip to content
Snippets Groups Projects
Commit 07685620 authored by Astrid Muennich's avatar Astrid Muennich Committed by Mikhail Karnevskiy
Browse files

first commit

parent 0a4b0cfe
No related branches found
No related tags found
1 merge request!21Beautify report
......@@ -29,14 +29,15 @@ def combine_report(run_path, calibration):
comps = name.split("_")
if len(comps) >= 2:
comps = "_".join(comps[:-1]), comps[-1]
group, module = comps
if module == "None":
module = "All Modules"
group, conc_param = comps
else:
group, module = comps[0], "All Modules"
group, conc_param = comps[0], "None"
with open("{}/{}.rst".format(sphinx_path, group), "a") as gfile:
title = "{} - {}".format(calibration, module)
if conc_param == "None":
title = "{}".format(calibration)
else:
title = "Parameter {}".format(conc_param)
gfile.write(title + "\n")
gfile.write( "=" *len (title) + "\n")
gfile.write("\n")
......
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