Skip to content
Snippets Groups Projects
Commit db318554 authored by christopher dilks's avatar christopher dilks
Browse files

modified: benchmarks/rich/scripts/simulate.py

parent 69f58a61
No related branches found
No related tags found
No related merge requests found
......@@ -179,6 +179,7 @@ m.write(f'/gps/position 0 0 0 cm\n')
### obtain list of detector attributes and values
paramList=f'params_{outputName}'
os.system(f'npdet_info search {XRICH} --value {compactFileFull} > {paramList}.py')
print("** compact file params **"); os.system(f'cat {paramList}.py'); print(sep)
sys.path.append(os.getcwd())
params = importlib.import_module(paramList)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment