Skip to content

Commit

Permalink
convert-to-step.yml: fix for the new container
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl authored Dec 19, 2024
1 parent 3fceda3 commit 86d3043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/convert-to-step.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
IFS=$' \n\t'
# First get all detectors (except world)
declare -A detectors
while read d ; do detectors[$d]='-l 3' ; done <<< $(npdet_to_step list $DETECTOR_PATH/${{matrix.detector_config}}.xml | sed '/world/d;s/.*(vol: \(.*\)).*/\1/g')
while read d ; do detectors[$d]='-l 3' ; done <<< $(npdet_to_step list $DETECTOR_PATH/${{matrix.detector_config}}.xml | grep -V "has zero surface area" | sed '/world/d;s/.*(vol: \(.*\)).*/\1/g')
# Then tweak the levels (default is 1)
detectors[HcalBarrel]='-l 1'
detectors[LFHCAL]='-l 2'
Expand Down

0 comments on commit 86d3043

Please sign in to comment.