8248a457d0f538a99c0814b208878631c6487295 gperez2 Mon Aug 9 12:15:37 2021 -0700 Updating the cron for hgw2 to expect 3 table discrepancy due to the relatedTrack table in hg38, no RM diff --git src/utils/qa/checkSyncAndMetaDataAll.py src/utils/qa/checkSyncAndMetaDataAll.py index 6919894..c8c75b9 100755 --- src/utils/qa/checkSyncAndMetaDataAll.py +++ src/utils/qa/checkSyncAndMetaDataAll.py @@ -35,30 +35,36 @@ get_ipython().system(u" echo Follow up with checkSync.csh '$db' hgw1 hgw2") get_ipython().system(u' echo') troubleDbs.append(db) elif db == 'hg18': if ' 0 hgw1.only' not in str(checkSyncResults) and ' 4 hgwbeta.only' not in str(checkSyncResults) and db not in troubleDbs: get_ipython().system(u" echo There looks to be a discrepancy between hgw1 and hgw2 checkSync for: '$db'") get_ipython().system(u" echo Follow up with checkSync.csh '$db' hgw1 hgw2") get_ipython().system(u' echo') troubleDbs.append(db) elif db == 'hg19': if ' 0 hgw1.only' not in str(checkSyncResults) and ' 5 hgwbeta.only' not in str(checkSyncResults) and db not in troubleDbs: get_ipython().system(u" echo There looks to be a discrepancy between hgw1 and hgw2 checkSync for: '$db'") get_ipython().system(u" echo Follow up with checkSync.csh '$db' hgw1 hgw2") get_ipython().system(u' echo') troubleDbs.append(db) + elif db == 'hg38': + if ' 0 hgw1.only' not in str(checkSyncResults) and ' 3 hgwbeta.only' not in str(checkSyncResults) and db not in troubleDbs: + get_ipython().system(u" echo There looks to be a discrepancy between hgw1 and hgw2 checkSync for: '$db'") + get_ipython().system(u" echo Follow up with checkSync.csh '$db' hgw1 hgw2") + get_ipython().system(u' echo') + troubleDbs.append(db) else: if ' 0 hgw1.only' not in str(checkSyncResults) and ' 2 hgwbeta.only' not in str(checkSyncResults) and db not in troubleDbs: get_ipython().system(u" echo There looks to be a discrepancy between hgw1 and hgw2 checkSync for: '$db'") get_ipython().system(u" echo Follow up with checkSync.csh '$db' hgw1 hgw2") get_ipython().system(u' echo') troubleDbs.append(db) #Only if an error is found, rerun checkSyncs and display those results if troubleDbs == []: get_ipython().system(u' echo "There were no errors found between hgw1/hgw2 and beta tables (checkSync.csh)"') get_ipython().system(u' echo') else: get_ipython().system(u' echo Discrepancies between hgw1/hgw2 and beta tables:') get_ipython().system(u' echo') for db in troubleDbs: