Skip to content

treat arguments to --filesInput that contains a '=' not as input file

Walter Lampl requested to merge wlampl/athena:filesInputAndLeftover into 23.0

While working on something else, I noticed that in command line like

athena --CA MuonConfig/MuonSegmentFindingConfig.py --filesInput ../../NSWSpeed/withESD/myESD.pool.root Detector.EnableCSC=False

the trailing Detector.EnableCSC=False is misinterpreted as additional input file-name, because the argparse-argument --filesInput is set up with the nargs+ option. With this MR, "file-names" containing the character = are no longer considered a file-name but a flag to be set.

Merge request reports