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