2c11425dceb7d212d69de170e6cf5608882fa1e8 max Fri Dec 20 04:35:08 2013 -0800 removing indiv sequences link, rm #12212 diff --git src/hg/hgc/pubs.c src/hg/hgc/pubs.c index 208f8fa..e922907 100644 --- src/hg/hgc/pubs.c +++ src/hg/hgc/pubs.c @@ -232,38 +232,41 @@ printf("<B>Genomic Size:</B> %s<BR>\n", startBuf); } static void printFilterLink(char *pslTrack, char *articleId, char *articleTable) /* print a link to hgTracks with an additional cgi param to activate the single article filter */ { int start = cgiOptionalInt("o", -1); if (start==-1) return; int end = cgiInt("t"); char qBuf[1024]; struct sqlConnection *conn = hAllocConn(database); sqlSafef(qBuf, sizeof(qBuf), "SELECT CONCAT(firstAuthor, year) FROM %s WHERE articleId='%s';", articleTable, articleId); char *dispId = sqlQuickString(conn, qBuf); - printf( - " <div class=\"subsection\">"); + printf(" <div class=\"subsection\">"); + + if (!containsStringNoCase(pslTrack, "Bing")) + { printf( " <P><A HREF=\"%s&db=%s&position=%s%%3A%d-%d&pubsFilterArticleId=%s&%s=pack&hgFind.matches=%s\">", hgTracksPathAndSettings(), database, seqName, start+1, end, articleId, pslTrack, dispId); printf("Show these sequence matches individually on genome browser</A> (activates track \"" "Individual matches for article\")</P>"); + } printPositionAndSize(start, end, 1); printf( " </div> <!-- class: subsection --> \n"); hFreeConn(&conn); } static char *makeSqlMarkerList(void) /* return list of sections from cgi vars, format like "'abstract','header'" */ { int secCount = sizeof(pubsSecNames)/sizeof(char *); struct slName *names = NULL; int i; for (i=0; i<secCount; i++)