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

Fix target input for single energy in runner

parent a042a8e9
No related branches found
Tags v0.9.3
No related merge requests found
Pipeline #34141 passed with warnings
......@@ -161,7 +161,7 @@ def main():
if type(args.energy) is float:
descriptor = "{0}_{1}_{2}GeV_A{3}Z{4}".format(
args.flavor, args.interaction, args.energy,
args.target[0].args.target[1])
args.target[0], args.target[1])
else:
descriptor = "{0}_{1}_{2}-{3}GeV_A{4}Z{5}_power_law_{6:.1f}".format(
args.flavor, args.interaction, args.energy[0], args.energy[1],
......
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