Skip to content

Commit

Permalink
fix: celeritas matrix.detector_configs
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc authored Nov 26, 2024
1 parent 2ea8f94 commit 3837b35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/celeritas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
setup: install/bin/thisepic.sh
run: |
# convert to gdml, but with sensitive detectors included
scripts/convert_to_gdml.py --compact $DETECTOR_PATH/${{detector_config}}.xml --output ${{detector_config}}.gdml
scripts/convert_to_gdml.py --compact $DETECTOR_PATH/${{matrix.detector_config}}.xml --output ${{matrix.detector_config}}.gdml
# create celeritas input file from template
cat celeritas.json | envsubst > ${{detector_config}}.json
cat .github/workflows/celeritas.json | envsubst > ${{matrix.detector_config}}.json
# run celeritas
celer-g4 ${{detector_config}}.json
celer-g4 ${{matrix.detector_config}}.json

0 comments on commit 3837b35

Please sign in to comment.