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
This commit is part of merge request !222. Comments created here will be created in the context of that merge request.
...@@ -179,6 +179,7 @@ m.write(f'/gps/position 0 0 0 cm\n') ...@@ -179,6 +179,7 @@ m.write(f'/gps/position 0 0 0 cm\n')
### obtain list of detector attributes and values ### obtain list of detector attributes and values
paramList=f'params_{outputName}' paramList=f'params_{outputName}'
os.system(f'npdet_info search {XRICH} --value {compactFileFull} > {paramList}.py') 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()) sys.path.append(os.getcwd())
params = importlib.import_module(paramList) 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