a3c5195d051868c371255e6fd6fb2fe81632ce44 gperez2 Mon Jan 13 17:53:39 2025 -0800 Updating the script to accommodate hgwbeta tables for hg19, no RM diff --git src/utils/qa/checkSyncAndMetaDataAll.py src/utils/qa/checkSyncAndMetaDataAll.py index 19e4f85..d7153e7 100755 --- src/utils/qa/checkSyncAndMetaDataAll.py +++ src/utils/qa/checkSyncAndMetaDataAll.py @@ -11,31 +11,31 @@ #Iterate through allDbs and run checkSync.csh comparing to hgw1 for db in allDbs: checkSyncResults = get_ipython().getoutput(u"checkSync.csh '$db' hgw1 hgwbeta") if db in curatedHubs: continue if db == 'mm9': if ' 0 hgw1.only' not in str(checkSyncResults) and ' 4 hgwbeta.only' not in str(checkSyncResults): troubleDbs.append(db) elif db == 'mm39': if ' 1 hgw1.only' not in str(checkSyncResults) and ' 3 hgwbeta.only' not in str(checkSyncResults): troubleDbs.append(db) elif db == 'hg18': if ' 0 hgw1.only' not in str(checkSyncResults) and ' 4 hgwbeta.only' not in str(checkSyncResults): troubleDbs.append(db) elif db == 'hg19': - if ' 0 hgw1.only' not in str(checkSyncResults) and ' 5 hgwbeta.only' not in str(checkSyncResults): + if ' 0 hgw1.only' not in str(checkSyncResults) and ' 6 hgwbeta.only' not in str(checkSyncResults): troubleDbs.append(db) elif db == 'hg38': if ' 3 hgw1.only' not in str(checkSyncResults) and ' 3 hgwbeta.only' not in str(checkSyncResults): troubleDbs.append(db) else: if ' 0 hgw1.only' not in str(checkSyncResults) and ' 2 hgwbeta.only' not in str(checkSyncResults): troubleDbs.append(db) #Iterate through allDbs and run checkSync.csh comparing to hgw2, informing of discrepancies for db in allDbs: checkSyncResults = get_ipython().getoutput(u"checkSync.csh '$db' hgw2 hgwbeta") if db in curatedHubs: continue if db == 'mm9': if ' 0 hgw1.only' not in str(checkSyncResults) and ' 4 hgwbeta.only' not in str(checkSyncResults) and db not in troubleDbs: @@ -44,31 +44,31 @@ get_ipython().system(u' echo') troubleDbs.append(db) elif db == 'mm39': if ' 1 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) 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: + if ' 0 hgw1.only' not in str(checkSyncResults) and ' 6 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')