Skip to content

Commit cd79871

Browse files
use denv to run dark-brem-lib-gen (#1712)
* use denv to run dark-brem-lib-gen Following up from LDMX-Software/dark-brem-lib-gen#24 --------- Co-authored-by: Tamas Vami <[email protected]>
1 parent fa9495d commit cd79871

File tree

1 file changed

+8
-11
lines changed
  • .github/validation_samples/signal

1 file changed

+8
-11
lines changed

.github/validation_samples/signal/init.sh

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,14 @@
88
###############################################################################
99

1010
start_group Produce Dark Brem Library
11-
wget https://raw.githubusercontent.com/LDMX-Software/dark-brem-lib-gen/main/env.sh
12-
source env.sh
13-
# commented out lines are dbgen's defaults for reference
14-
dbgen use v5.0
15-
#dbgen cache ${HOME} <- only matters for apptainer/singularity
16-
#dbgen work /tmp
17-
#dbgen dest $PWD
18-
mkdir scratch
19-
dbgen work scratch
20-
dbgen run \
11+
curl -s https://tomeichlersmith.github.io/denv/install | sh
12+
# use docker so we don't have to tell podman to look at the docker.io registry
13+
export DENV_RUNNER=docker
14+
denv init ldmx/dark-brem-lib-gen:v5.1.0
15+
denv dark-brem-lib-gen \
2116
--run 1 \
22-
--max_energy 8.0 \
17+
--max-energy 8.0 \
2318
--apmass 0.01
19+
# cleanup denv
20+
rm -r .denv
2421
end_group

0 commit comments

Comments
 (0)