src/hg/hgc/bigBedClick.c 1.8

1.8 2010/02/19 00:22:30 angie
Added printCustomUrl -- user noticed its absence.
Index: src/hg/hgc/bigBedClick.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgc/bigBedClick.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -b -B -U 4 -r1.7 -r1.8
--- src/hg/hgc/bigBedClick.c	12 Aug 2009 21:20:26 -0000	1.7
+++ src/hg/hgc/bigBedClick.c	19 Feb 2010 00:22:30 -0000	1.8
@@ -68,8 +68,10 @@
 	errAbort("Disagreement between trackDb field count (%d) and %s fieldCount (%d)", 
 		bedSize, fileName, bbFieldCount);
 	}
     struct bed *bed = bedLoadN(fields, bedSize);
+    if (bedSize >= 4)
+	printCustomUrl(tdb, item, TRUE);
     bedPrintPos(bed, bedSize, tdb);
     // display seq1 and seq2 
     if (bedSize+extraFields == 8 && setting && sameString(setting, "seq1Seq2"))
         printf("<table><tr><th>Sequence 1</th><th>Sequence 2</th></tr><tr><td> %s </td><td> %s </td></tr></table>", fields[6], fields[7]);