fa7ccbf08ce2ce1bfc79139f83483a6ed9eb4a4b
max
Thu Aug 15 14:42:21 2013 -0700
correction to last commit, #10687
diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c
index 3178c3c..287edf7 100644
--- src/hg/hgc/hgc.c
+++ src/hg/hgc/hgc.c
@@ -23909,30 +23909,31 @@
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);
if (isNotEmpty(r->id))
{
printCustomUrl(tdb, r->id, TRUE);
+ printf("
\n");
}
bedPrintPos((struct bed*)r, bedPart, tdb);
printf("
");
if (isNotEmpty(r->id) && !sameString("qPcrPrimers", table))
printf("ID: %s
\n", r->id);
if (isNotEmpty(r->description))
printf("%s
\n", r->description);
}
sqlFreeResult(&sr);
/* do not print this for custom tracks, they do this later */
if (ct == NULL)
printTrackHtml(tdb);