Skip to content

Commit

Permalink
[SimWF] Protect the -e argument (#1551)
Browse files Browse the repository at this point in the history
Without this, passing -embedding would work and produce a workflow.json.
However, the resulting WF has nothing to with embedding, since the real
flag for that has 2 dashed: --embedding
What really happened was that the engine would now be "mbedding"

So far there are no clashes for -j or -o which are also valid arguments.

Co-authored-by: Benedikt Volkel <[email protected]>
  • Loading branch information
benedikt-voelkel and Benedikt Volkel authored Mar 23, 2024
1 parent bb6dc1b commit d8bf2aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MC/bin/o2dpg_sim_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
parser.add_argument('-confKeyBkg',help='embedding background configuration key values, for example: "GeneratorPythia8.config=pythia8bkg.cfg"', default='')
parser.add_argument('-colBkg',help='embedding background collision system', default='PbPb')

parser.add_argument('-e',help='simengine', default='TGeant4')
parser.add_argument('-e',help='simengine', default='TGeant4', choices=['TGeant4', 'TGeant3', 'TFluka'])
parser.add_argument('-tf',help='number of timeframes', default=2)
parser.add_argument('--production-offset',help='Offset determining bunch-crossing '
+ ' range within a (GRID) production. This number sets first orbit to '
Expand Down

0 comments on commit d8bf2aa

Please sign in to comment.