Skip to content

Commit

Permalink
Merge pull request #160 from vespos/makepeds_s3df
Browse files Browse the repository at this point in the history
default to s3df even if no queue is passed
  • Loading branch information
vespos authored Jan 30, 2024
2 parents 2d74212 + 445b12f commit bf092a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 3 additions & 1 deletion scripts/makepeds
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@ EXP=${EXP:='xxx'}
QUEUE=${QUEUE:='xxx'}
INTERACTIVE=${INTERACTIVE:=0}

SDFQUEUES=('milano' 'roma')
# also put 'xxx' (default q name) as S3DF so that even if no queue is given,
# it goes to S3DF
SDFQUEUES=('milano' 'roma' 'xxx')
for SDFQUEUE in ${SDFQUEUES[@]}; do
if [[ $QUEUE == $SDFQUEUE ]]; then
S3DF=1
Expand Down
6 changes: 1 addition & 5 deletions scripts/takepeds
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,4 @@ HUTCH=${EXP:0:3}
echo $PYCMD -i "${HUTCH^^}" -u `whoami` -e "$EXP" -t DARK -r $RUN -m "$elogMessage"
$PYCMD -i "${HUTCH^^}" -u `whoami` -p pcds -e "$EXP" -t DARK -r $RUN -m "$elogMessage"&

echo 'please call: makepeds -r '`get_lastRun`' -u <userID>'
echo 'for gain-switching detectors we recommend: makepeds -u <userID> -q milano -r '`get_lastRun`
#echo 'we need to use the offline data to process pedestals right now, make sure files have moved, otherwise a very silent failure might happen'
#echo 'please call: makepeds -u <userID> -e '`get_curr_exp`' -r '`get_lastRun`' -q psfehhiprioq'

echo 'Please call: makepeds -q milano -r '`get_lastRun`' -u <userID>'

0 comments on commit bf092a6

Please sign in to comment.