Skip to content
Snippets Groups Projects

[RTADPA BW Tests] New Sprucing bandwidth test using latest-available HLT2 input.

Merged Luke Grazette requested to merge lugrazet-BW-spruce-ydayshlt2 into master
1 file
+ 8
4
Compare changes
  • Side-by-side
  • Inline
@@ -79,7 +79,9 @@ def run_gaudi_job(args, config, job_input):
extra_options += ["event_store = 'EvtStoreSvc'", "use_iosvc = True"]
if args.use_manifest:
extra_options += [f'input_manifest_file = \'{config["input_manifest_file"]}\'']
extra_options += [
f'input_manifest_file = \'{config["input_manifest_file"]}\''
]
extra_options = [f"options.{opt_str}" for opt_str in extra_options]
extra_options.insert(0, "from Moore import options")
@@ -149,7 +151,8 @@ if __name__ == '__main__':
'-um',
'--use-manifest',
action='store_true',
help="Flag to access and include config[input_manifest_file] as an extra option in the job."
help=
"Flag to access and include config[input_manifest_file] as an extra option in the job."
)
args = parser.parse_args()
@@ -167,9 +170,10 @@ if __name__ == '__main__':
config = parse_yaml(args.config)
if args.use_manifest and not "input_manifest_file" in config.keys():
raise KeyError(f'{args.config} does not provide "input_manifest_file" but --use-manifest is in use.')
raise KeyError(
f'{args.config} does not provide "input_manifest_file" but --use-manifest is in use.'
)
if "testfiledb_key" in config.keys():
from PRConfig.TestFileDB import test_file_db
inputs_fns = test_file_db[config['testfiledb_key']].filenames
Loading