Skip to content

Commit

Permalink
convertMarlinSteeringToGaudi.py: fix creation of trailing white space
Browse files Browse the repository at this point in the history
  • Loading branch information
Zehvogel authored and andresailer committed Jul 26, 2023
1 parent 56b2af2 commit 6d85e33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions k4MarlinWrapper/scripts/convertMarlinSteeringToGaudi.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ def verbosityTranslator(marlinLogLevel):
def convertParameters(params, proc, globParams, constants):
""" convert json of parameters to gaudi """
lines = []
lines.append("%s.OutputLevel = %s " % (proc.replace(".", "_"), verbosityTranslator(globParams.get("Verbosity"))))
lines.append("%s.ProcessorType = \"%s\" " % (proc.replace(".", "_"), params.get("type")))
lines.append("%s.OutputLevel = %s" % (proc.replace(".", "_"), verbosityTranslator(globParams.get("Verbosity"))))
lines.append("%s.ProcessorType = \"%s\"" % (proc.replace(".", "_"), params.get("type")))
lines.append("%s.Parameters = {" % proc.replace(".", "_"))
for para in sorted(params):
if para not in ["type", "Verbosity"]:
Expand Down

0 comments on commit 6d85e33

Please sign in to comment.