a3221ce060e8efe2e9ef46392625606896f64f96 hiram Fri May 8 23:06:59 2020 -0700 do not print links to other assembly hubs from VGP index pages refs #23734 diff --git src/hg/makeDb/doc/asmHubs/mkHubIndex.pl src/hg/makeDb/doc/asmHubs/mkHubIndex.pl index 54600b2..a9d44b2 100755 --- src/hg/makeDb/doc/asmHubs/mkHubIndex.pl +++ src/hg/makeDb/doc/asmHubs/mkHubIndex.pl @@ -175,31 +175,33 @@ ############################################################################## sub endTable() { print <<"END" </tbody> </table> END } # sub endTable() ############################################################################## ### end the HTML output ############################################################################## sub endHtml() { -if ($asmHubName ne "viral") { +# do not print these links for VGP index + +if ((0 == $vgpIndex) && ($asmHubName ne "viral")) { printf "<p>\n<table border='1'><thead>\n"; printf "<tr><th colspan=6 style='text-align:center;'>Additional hubs with collections of assemblies</th></tr>\n"; printf "<tr><th>Assembly hubs index pages: </th>\n"; printf "<th><a href='../primates/index.html'>Primates</a></th>\n"; printf "<th><a href='../mammals/index.html'>Mammals</a></th>\n"; printf "<th><a href='../birds/index.html'>Birds</a></th>\n"; printf "<th><a href='../fish/index.html'>Fish</a></th>\n"; printf "<th><a href='../vertebrate/index.html'>other vertebrates</a></th>\n"; printf "</tr><tr>\n"; printf "<th>Hubs assembly statistics: </th>\n"; printf "<th><a href='../primates/asmStats.html'>Primates</a></th>\n"; printf "<th><a href='../mammals/asmStats.html'>Mammals</a></th>\n"; printf "<th><a href='../birds/asmStats.html'>Birds</a></th>\n"; printf "<th><a href='../fish/asmStats.html'>Fish</a></th>\n";