From fed1d6afca2c0103987793180ddea37ed4a3134c Mon Sep 17 00:00:00 2001 From: Johannes Schumann <johannes.schumann@fau.de> Date: Fri, 13 Jan 2023 16:37:02 +0100 Subject: [PATCH] Fix target input for single energy in runner --- km3buu/cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/km3buu/cmd.py b/km3buu/cmd.py index 865b711..a1d952d 100755 --- a/km3buu/cmd.py +++ b/km3buu/cmd.py @@ -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], -- GitLab