Skip to content
Snippets Groups Projects
Commit 36aba81a authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

updated launcher to automatically call h2root

parent ef1bf98f
No related branches found
No related tags found
No related merge requests found
...@@ -94,5 +94,7 @@ with tempfile.TemporaryDirectory() as tmpdir: ...@@ -94,5 +94,7 @@ with tempfile.TemporaryDirectory() as tmpdir:
launcher.close() launcher.close()
print('\nCalling SIMC, good luck!') print('\nCalling SIMC, good luck!')
subprocess.call(['sh', run_name]) subprocess.call(['sh', run_name])
print('\nConverting output to ROOT')
os.chdir(output_dir)
subprocess.call(['h2root', '{conf}.rzdat'.format(conf=tmp_conf_name))
print('All done!') print('All done!')
#subprocess.call(['cp', run_name, '/tmp/'])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment