d9aaedf4614b86b3f4bd2aae4b44443019a14b45 hiram Mon Apr 27 15:26:46 2026 -0700 claude says it does not like the b in: set -beEu -o pipefail - so remove that and now have worked all the way to email notification to the user with all files present in appropriate locations refs #31811 diff --git src/hg/utils/otto/userRequests/ottoRequestAlign.sh src/hg/utils/otto/userRequests/ottoRequestAlign.sh index 18d42c128ea..f8bea42a34c 100755 --- src/hg/utils/otto/userRequests/ottoRequestAlign.sh +++ src/hg/utils/otto/userRequests/ottoRequestAlign.sh @@ -1,27 +1,27 @@ #!/bin/bash # ottoRequestAlign.sh - look up an ottoRequest row by id and construct # the kegAlignLastz.sh command line from genark metadata # # usage: ottoRequestAlign.sh <id> # # Queries hgcentraltest.ottoRequest for fromDb/toDb, then looks up # each accession in hgcentraltest.genark for asmName and clade. # Prints and executes the resulting kegAlignLastz.sh command. -set -beEu -o pipefail +set -eEu -o pipefail ############################################################################ ### verify arguments ############################################################################ if [ $# != 1 ]; then printf "usage: ottoRequestAlign.sh <id>\n" 1>&2 printf " where <id> is a row id from hgcentraltest.ottoRequest\n" 1>&2 exit 255 fi export requestId="$1" # validate id is a positive integer case "${requestId}" in ''|*[!0-9]*)