862b3b53dd2a3e4011560f989ac1c18310d4ffc4 hiram Thu Jun 11 15:55:44 2026 -0700 better email subject construction refs #31811 diff --git src/hg/utils/otto/userRequests/asmRequestWatch.sh src/hg/utils/otto/userRequests/asmRequestWatch.sh index ee738571595..fdd9fb633ca 100755 --- src/hg/utils/otto/userRequests/asmRequestWatch.sh +++ src/hg/utils/otto/userRequests/asmRequestWatch.sh @@ -284,31 +284,31 @@ ############################################################################ # check for phase 6: the assembly is complete and available on the RR # this checking and setting status 6 is currently done manually, # eventually this will become automatic. ############################################################################ while IFS=$'\t' read -r reqId fromDb comment requestTime; do gcX="${fromDb:0:3}" d0="${fromDb:4:3}" d1="${fromDb:7:3}" d2="${fromDb:10:3}" gbDbPath="/gbdb/genark/${gcX}/${d0}/${d1}/${d2}/${fromDb}/hub.txt" hubTxt="https://genome.ucsc.edu/cgi-bin/hgTracks?genome=${fromDb}&hubUrl=${gbDbPath}" sendNotification "${reqId}" \ -"from UCSC: assembly request complete: ${fromDb}" \ +"from UCSC: ${fromDb} assembly request complete" \ "from UCSC: Your assembly request is complete: assembly: ${fromDb} comment: ${comment} submitted: ${requestTime} The assembly is available in the browser at the following URL: ${hubTxt} " /cluster/bin/x86_64/${hgSql} -N -e \ "UPDATE ottoRequest SET status=8, completeTime=now() WHERE id=${reqId};" ${centDb} done < <(/cluster/bin/x86_64/${hgSql} -N -B -e \ "SELECT id, fromDb, comment, requestTime FROM ottoRequest \ WHERE status = 6 AND requestType = 'assembly';" ${centDb})