Skip to content
Snippets Groups Projects
Commit 64e7a50a authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: pass sim_file to eicrecon in python

parent 1803de0a
No related branches found
No related tags found
1 merge request!275feat: gaudirun to eicrecon for tracking benchmarks
...@@ -105,7 +105,7 @@ if 'rec' in procs: ...@@ -105,7 +105,7 @@ if 'rec' in procs:
os.environ['JUGGLER_N_EVENTS'] = '{}'.format(args.nev) os.environ['JUGGLER_N_EVENTS'] = '{}'.format(args.nev)
os.environ['JANA_HOME'] = '/usr/local/lib/EICrecon' os.environ['JANA_HOME'] = '/usr/local/lib/EICrecon'
rec_cmd = ['eicrecon', f'-Ppodio:output_file={rec_file}'] rec_cmd = ['eicrecon', f'-Ppodio:output_file={rec_file}', sim_file]
return_code = subprocess.run(rec_cmd).returncode return_code = subprocess.run(rec_cmd).returncode
if return_code is not None and return_code < 0: if return_code is not None and return_code < 0:
print('ERROR running eicrecon ({})!'.format(opt)) print('ERROR running eicrecon ({})!'.format(opt))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment