a20b9bd3b6167ed987592a293297e4b5cd459765 lrnassar Tue Mar 1 16:35:59 2022 -0800 Revert "Adding change between otto running script in hive vs tree, refs Jonathan" This reverts commit 490598d3b0bd8599908253ece43d519d5772b5e9. diff --git src/hg/utils/otto/omim/checkOmimUpload.sh src/hg/utils/otto/omim/checkOmimUpload.sh index 5ebd39c..095bd77 100755 --- src/hg/utils/otto/omim/checkOmimUpload.sh +++ src/hg/utils/otto/omim/checkOmimUpload.sh @@ -20,31 +20,31 @@ # this is where we are going to work if [ ! -d "${WORKDIR}" ]; then echo "ERROR in OMIM release watch, Can not find the directory: ${WORKDIR}" # echo "ERROR in OMIM release watch, Can not find the directory: # ${WORKDIR}" \ # | mail -s "ERROR: OMIM watch" ${DEBUG_EMAIL} exit 255 fi cd "${WORKDIR}"/upload rm -f omimGene2.date omimAvSnp.date touch omimGene2.date omimAvSnp.date hgsqlTableDate hg19 omimGene2 omimGene2.date hgsqlTableDate hg19 omimAvSnp omimAvSnp.date -if [ ! omimGene2.date -nt upload.omim2.date -a ! omimAvSnp.date -nt omimAvSnp.date ] +if [ ! omimGene2.date -nt upload.omim2.date -a ! omimAvSnp.date -nt upload.omimAvSnp.date ] then # echo "No new table." exit 0; fi echo doing upload # assumes hg18 and hg19 have the same tables hgsql -h hgwbeta -N -e "SHOW TABLES LIKE 'omim%' " hg19 > omimTables rm -f omimTableDump.tar omimTableDump.tar.gz for db in hg18 hg19 hg38 do for table in `cat omimTables` do # echo $db.$table.tab >> pushList