60f7c090777cee109d873d4b0ec74e3ec27fb4f8 chinhli Mon Jan 14 11:30:06 2013 -0800 redmine #9269 rename track, redmine title, and html file name from exonJunctionPrimers to qPcrPrimers. diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index 9580201..d07eb18 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -23881,35 +23881,35 @@ bedPart = ct->fieldCount - 2; /* header handled by custom track handler */ } /* postion, band, genomic size */ escName = sqlEscapeString(itemName); safef(query, sizeof(query), "select * from %s where chrom = '%s' and chromStart = %d and chromEnd = %d and name = '%s'", table, chrom, start, end, escName); sr = sqlGetResult(conn, query); if ((row = sqlNextRow(sr)) != NULL) { r = bedDetailLoadWithGaps(row, bedPart+2); bedPrintPos((struct bed*)r, bedPart, tdb); if (r->id != NULL) { - if (!sameString("exonJunctionPrimers", table)) + if (!sameString("qPcrPrimers", table)) printf("ID: %s
\n", r->id); printCustomUrl(tdb, r->id, TRUE); } - if ((r->description != NULL) && (!sameString("exonJunctionPrimers", table))) + if ((r->description != NULL) && (!sameString("qPcrPrimers", table))) printf("%s
\n", r->description); } sqlFreeResult(&sr); /* do not print this for custom tracks, they do this later */ if (ct == NULL) printTrackHtml(tdb); bedDetailFree(&r); freeMem(escName); hFreeConn(&conn); } struct trackDb *tdbForTableArg() /* get trackDb for track passed in table arg */ { @@ -25234,31 +25234,31 @@ { doBedDetail(tdb, NULL, item); } else if (startsWith("numtS", table)) { doNumtS(tdb, item); } else if (startsWith("cosmic", table)) { doCosmic(tdb, item); } else if (sameString("geneReviews", table)) { doGeneReviews(tdb, item); } -else if (startsWith("exonJunctionPrimers", table)) +else if (startsWith("qPcrPrimers", table)) { doQPCRPrimers(tdb, item); } else if (tdb != NULL) { genericClickHandler(tdb, item, NULL); } else { cartWebStart(cart, database, "%s", track); printf("Sorry, clicking there doesn't do anything yet (%s).", track); } /* End of 1000+ line dispatch on table involving 100+ if/elses. */