d0892ab90220db6c44e2e4f55d7c5c0abd99067a galt Tue Oct 9 23:53:00 2018 -0700 added db to page header as requested. diff --git src/hg/hgBlat/hgBlat.c src/hg/hgBlat/hgBlat.c index d3c22e0..55b58fe 100644 --- src/hg/hgBlat/hgBlat.c +++ src/hg/hgBlat/hgBlat.c @@ -526,31 +526,31 @@ puts("<table><tr><td><hr>Sorry, no matches found<hr><td></tr></table>"); return; } pslSortListByVar(&pslList, sort); if(feelingLucky) { /* If we found something jump browser to there. */ if(slCount(pslList) > 0) printLuckyRedirect(browserUrl, pslList, database, pslName, faName, uiState, unhideTrack); /* Otherwise call ourselves again not feeling lucky to print empty results. */ else { - cartWebStart(cart, database, "%s BLAT Results", trackHubSkipHubName(organism)); + cartWebStart(cart, database, "%s (%s) BLAT Results", trackHubSkipHubName(organism), database); showAliPlaces(pslName, faName, customText, database, qType, tType, organism, FALSE); cartWebEnd(); } } else if (pslOut) { printf("<TT><PRE>"); if (!sameString(output, "psl no header")) pslxWriteHead(stdout, qType, tType); for (psl = pslList; psl != NULL; psl = psl->next) pslTabOut(psl, stdout); printf("</PRE></TT>"); } else // hyperlink { @@ -1271,31 +1271,31 @@ struct hash *tFileCache = gfFileCacheNew(); // allGenomes ignores I'm Feeling Lucky for simplicity boolean feelingLucky = cgiBoolean("Lucky") && !allGenomes; char *xType = NULL; if (allGenomes) { db = database; genome = organism; } else getDbAndGenome(cart, &db, &genome, oldVars); if(!feelingLucky && !allGenomes) - cartWebStart(cart, db, "%s BLAT Results", trackHubSkipHubName(organism)); + cartWebStart(cart, db, "%s (%s) BLAT Results", trackHubSkipHubName(organism), db); /* Load user sequence and figure out if it is DNA or protein. */ if (sameWord(type, "DNA")) { seqList = faSeqListFromMemText(seqLetters, TRUE); uToT(seqList); isTx = FALSE; xType = "dna"; } else if (sameWord(type, "translated RNA") || sameWord(type, "translated DNA")) { seqList = faSeqListFromMemText(seqLetters, TRUE); uToT(seqList); isTx = TRUE; isTxTx = TRUE;