5a9c106607b38401620354b237667b53332017ea braney Thu Feb 21 11:04:39 2013 -0800 change trackHubRemoveHubName to trackHubSkipName (per code review #10237) diff --git src/hg/lib/hgFind.c src/hg/lib/hgFind.c index 257f5aa..bf26778 100644 --- src/hg/lib/hgFind.c +++ src/hg/lib/hgFind.c @@ -3162,46 +3162,46 @@ void hgPositionsHelpHtml(char *organism, char *database) /* Display contents of dbDb.htmlPath for database, or print an HTML comment * explaining what's missing. */ { char *htmlPath = hHtmlPath(database); char *htmlString = NULL; size_t htmlStrLength = 0; if (strstrNoCase(organism, "zoo")) webNewSection("About the NISC Comparative Sequencing Program Browser"); else webNewSection("%s Genome Browser – %s assembly" " <A HREF=\"%s?%s=%d&chromInfoPage=\">(sequences)</A>", - trackHubRemoveHubName(organism), - trackHubRemoveHubName(database), + trackHubSkipHubName(organism), + trackHubSkipHubName(database), hgTracksName(), cartSessionVarName(), cartSessionId(cart)); if (htmlPath != NULL && fileExists(htmlPath)) readInGulp(htmlPath, &htmlString, &htmlStrLength); else if ( startsWith("http://" , htmlPath) || startsWith("https://", htmlPath) || startsWith("ftp://" , htmlPath)) { struct lineFile *lf = udcWrapShortLineFile(htmlPath, NULL, 256*1024); htmlString = lineFileReadAll(lf); htmlStrLength = strlen(htmlString); lineFileClose(&lf); } if (htmlStrLength > 0) { puts(htmlString); freeMem(htmlString); freeMem(htmlPath); } else { - printf("<H2>%s</H2>\n", trackHubRemoveHubName(organism)); + printf("<H2>%s</H2>\n", trackHubSkipHubName(organism)); if (htmlPath == NULL || htmlPath[0] == 0) printf("\n<!-- No dbDb.htmlPath for %s -->\n", database); else printf("\n<!-- Couldn't get contents of %s -->\n", htmlPath); } }