3475b145fbe84f0bb11107d2a91683d055b4c71e chmalee Tue Aug 25 12:24:12 2020 -0700 Don't try to add a related tracks section for assembly hubs, refs #26040 diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index f82f4cc..41c24a7 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -3220,30 +3220,33 @@ printDataVersion(database, tdb); printUpdateTime(database, tdb, NULL); printDataRestrictionDate(tdb); } char *html = getHtmlFromSelfOrParent(tdb); if (html != NULL && html[0] != 0) { htmlHorizontalLine(); // Add pennantIcon printPennantIconNote(tdb); // Wrap description html in div with limited width, so when the page is very wide // due to long details, the user doesn't have to scroll right to read the description. puts("<div class='readableWidth'>"); + if (trackHubDatabase(database)) + puts(html); + else printHtmlAddRelated(tdb, html); puts("</div>"); } hPrintf("<BR>\n"); } void qChainRangePlusStrand(struct chain *chain, int *retQs, int *retQe) /* Return range of bases covered by chain on q side on the plus * strand. */ { if (chain == NULL) errAbort("Can't find range in null query chain."); if (chain->qStrand == '-') { *retQs = chain->qSize - chain->qEnd+1;