e68de3568b4604b3febc0a873285ee16fd32ea99
max
Thu Aug 15 14:14:54 2013 -0700
changing the order of fields in bedDetail to match normal bed order, as requested by QA in #10687
diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c
index 7b6289d..731c4c2 100644
--- src/hg/hgc/hgc.c
+++ src/hg/hgc/hgc.c
@@ -23906,37 +23906,42 @@
{
table = ct->dbTableName;
conn = hAllocConn(CUSTOM_TRASH);
bedPart = ct->fieldCount - 2;
/* header handled by custom track handler */
}
/* postion, band, genomic size */
sqlSafef(query, sizeof(query),
"select * from %s where chrom = '%s' and chromStart = %d and chromEnd = %d and name = '%s'",
table, chrom, start, end, itemName);
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 (isNotEmpty(r->id))
{
- if (!sameString("qPcrPrimers", table))
- printf("ID: %s
\n", r->id);
+ printf("
"); printCustomUrl(tdb, r->id, TRUE); + printf("
"); } + + bedPrintPos((struct bed*)r, bedPart, tdb); + printf("