Skip to content

Commit

Permalink
updated for new workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed Dec 11, 2023
1 parent 242b85c commit 92f2cfa
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions bin/seqbs_pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# If projectid is set, this is the subdirectory, within which obsnum is set
#

version="seqbs_pipeline: 2-mar-2023"
version="seqbs_pipeline: 11-dec-2023"

echo "LMTOY>> $version"

Expand All @@ -20,17 +20,18 @@ echo "LMTOY>> $version"
# - start or restart
path=${DATA_LMT:-data_lmt}
obsnum=79448
obsid=""
oid=""
newrc=0
pdir=""
admit=1
clean=1
debug=0
error=0
# - meta parameters that will compute other parameters for SLR scripts
dv=100
dw=250
# - parameters that directly match the SLR scripts
pix_list=8,10
pix_list=10,8
stype=2
rms_cut=-4
bank=-1 # -1 means all banks 0..numbands-1
Expand Down Expand Up @@ -162,16 +163,19 @@ lmtoy_args "$@"

# pick one bank, or loop over all allowed banks
if [ $bank != -1 ]; then
oid=$bank
lmtoy_bs1
elif [ $numbands == 1 ]; then
# old style, we should not use it anymore
bank=0
oid=0
lmtoy_bs1
else
for b in $(seq 1 $numbands); do
bank=$(expr $b - 1)
oid=$bank
echo "======================================"
echo "Preparing for bank = $bank / $numbands"
lmtoy_bs1
done
# exit 0
fi

0 comments on commit 92f2cfa

Please sign in to comment.