src/hg/hgTables/bigBed.c 1.3
1.3 2009/03/16 18:35:13 kent
Polishing bigBed status page a little.
Index: src/hg/hgTables/bigBed.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTables/bigBed.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -B -U 4 -r1.2 -r1.3
--- src/hg/hgTables/bigBed.c 16 Mar 2009 18:23:06 -0000 1.2
+++ src/hg/hgTables/bigBed.c 16 Mar 2009 18:35:13 -0000 1.3
@@ -11,9 +11,9 @@
#include "web.h"
#include "bed.h"
#include "hdb.h"
#include "trackDb.h"
-#include "customTrack.h"
+#include "obscure.h"
#include "hmmstats.h"
#include "correlate.h"
#include "asParse.h"
#include "bbiFile.h"
@@ -56,8 +56,13 @@
struct asObject *as = bigBedAs(bbi);
if (as == NULL)
as = asParseText(bedAsDef(bbi->definedFieldCount, bbi->fieldCount));
+hPrintf("<B>Big Bed File:</B> %s", fileName);
+hPrintf(" <B>Row Count:</B> ");
+printLongWithCommas(stdout, bigBedItemCount(bbi));
+hPrintf("<BR>\n");
+hPrintf("<B>Format description:</B> %s<BR>", as->comment);
/* Put up table that describes fields. */
hTableStart();
hPrintf("<TR><TH>field</TH>");