src/hg/encode/validateFiles/validateFiles.c 1.18
1.18 2009/06/22 21:32:44 mikep
bed files allow comment lines
Index: src/hg/encode/validateFiles/validateFiles.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/encode/validateFiles/validateFiles.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -b -B -U 4 -r1.17 -r1.18
--- src/hg/encode/validateFiles/validateFiles.c 4 May 2009 19:36:03 -0000 1.17
+++ src/hg/encode/validateFiles/validateFiles.c 22 Jun 2009 21:32:44 -0000 1.18
@@ -596,12 +596,11 @@
char *words[PEAK_WORDS];
int line = 0;
int errs = 0;
unsigned chromSize;
-int size;
int gappedOffset = (type == GAPPED_PEAK ? 6 : 0);
verbose(2,"[%s %3d] file(%s)\n", __func__, __LINE__, file);
-while (lineFileNext(lf, &row, &size))
+while (lineFileNextReal(lf, &row))
{
++line;
if (quick && line > quick)
break;