src/hg/hgc/bigBedClick.c 1.4
1.4 2009/05/28 15:30:40 mikep
dont print the full record if all the fields are already nicely formatted above
Index: src/hg/hgc/bigBedClick.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgc/bigBedClick.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -B -U 4 -r1.3 -r1.4
--- src/hg/hgc/bigBedClick.c 17 Mar 2009 16:28:02 -0000 1.3
+++ src/hg/hgc/bigBedClick.c 28 May 2009 15:30:40 -0000 1.4
@@ -63,8 +63,9 @@
bedSize, fileName, bbFieldCount);
}
struct bed *bed = bedLoadN(fields, bedSize);
bedPrintPos(bed, bedSize, tdb);
+ if (bedSize > 6) // we have more fields to print
printf("Full bed record:<BR><PRE><TT>%s\t%u\t%u\t%s\n</TT></PRE>\n",
chrom, bb->start, bb->end, rest);
}
else