diff --git a/containers/jug/setup_detectors.py b/containers/jug/setup_detectors.py index 79e14cc8a66f053ffc182874ed65f739bfa3ddc1..340b72e1f1a74c22351f0bc7c54e9097d0cfa2ff 100755 --- a/containers/jug/setup_detectors.py +++ b/containers/jug/setup_detectors.py @@ -161,12 +161,12 @@ if __name__ == '__main__': file=f) ## run once inside global prefix to initialize artifacts in /opt/detectors os.environ['DETECTOR_PATH'] = args.prefix - cmd = f'cd {args.prefix} && source {prefix}/setup.sh && checkGeometry -c {prefix}/share/{det}/{det}.xml' + cmd = f'cd {args.prefix} && source {prefix}/setup.sh && ddsim --compactFile {prefix}/share/{det}/{det}.xml --printLevel DEBUG -G -N1' print(cmd) process_list.append(subprocess.Popen(cmd, shell=True, executable='/bin/bash', stdout=subprocess.PIPE, stderr=subprocess.STDOUT)) ## run once inside specific prefix to initialize artifacts in $DETECTOR_PATH os.environ['DETECTOR_PATH'] = args.prefix - cmd = f'cd {prefix}/share/{det} && source {prefix}/setup.sh && checkGeometry -c {prefix}/share/{det}/{det}.xml' + cmd = f'cd {prefix}/share/{det} && source {prefix}/setup.sh && ddsim --compactFile {prefix}/share/{det}/{det}.xml --printLevel DEBUG -G -N1' print(cmd) process_list.append(subprocess.Popen(cmd, shell=True, executable='/bin/bash', stdout=subprocess.PIPE, stderr=subprocess.STDOUT))