fba554ebc73d05957c3c7431163f18d7f25a3ee9 gperez2 Tue Apr 14 10:49:06 2026 -0700 Remove hs1 and mpxvRivers curated hubs from today's ui link check. No RM. diff --git src/utils/qa/checkUiLinks.py src/utils/qa/checkUiLinks.py index 68efa612744..c16231f2f87 100755 --- src/utils/qa/checkUiLinks.py +++ src/utils/qa/checkUiLinks.py @@ -9,30 +9,35 @@ def getActiveAssemblies(): ''' Return a list of active assemblies on the RR (active=1) ''' host = "genome-centdb" command = "select name from dbDb where active=1" database = "hgcentral" hgsqlOutput = subprocess.run("/cluster/bin/x86_64/hgsql -h %s -Ne '%s' %s" %\ (host, command, database),\ stdout=subprocess.PIPE,\ stderr=subprocess.PIPE,\ shell=True) # Convert the binary string to a regular string # Then create a list myOutput = hgsqlOutput.stdout.decode('utf-8').split() + # Skip curated hubs + skipList = ['hs1', 'mpxvRivers'] + for db in skipList: + if db in myOutput: + myOutput.remove(db) return myOutput def runCron(assembly): ''' Run the checkTrackUiLinks.csh script ''' cronOutput = subprocess.run("/cluster/bin/scripts/checkTrackUiLinks.csh %s all" % assembly,\ stdout=subprocess.PIPE,\ stderr=subprocess.PIPE,\ shell=True) myOutput = cronOutput.stdout.decode('utf-8') print(myOutput) def main():