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

modified: benchmarks/rich/scripts/simulate.py

parent db318554
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.
......@@ -178,8 +178,10 @@ m.write(f'/gps/position 0 0 0 cm\n')
### obtain list of detector attributes and values
paramList=f'params_{outputName}'
os.system(f'which npdet_info'); print(sep) #########
os.system(f'npdet_info'); print(sep) #########
os.system(f'npdet_info search {XRICH} --value {compactFileFull} > {paramList}.py')
print("** compact file params **"); os.system(f'cat {paramList}.py'); print(sep)
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