31fffada1e52bfc7318ad52f40e95fae1f53a5b9 braney Tue Jan 9 15:10:49 2018 -0800 oops... left in a printf diff --git src/hg/lib/mathWig.c src/hg/lib/mathWig.c index 01b078a..23f0473 100644 --- src/hg/lib/mathWig.c +++ src/hg/lib/mathWig.c @@ -63,31 +63,30 @@ udcRead(wibFH, readData, (size_t) wi->count * (size_t) sizeof(unsigned char)); /* walk through all the data in this block */ int width = winEnd - winStart; for (dataOffset = 0; dataOffset < wi->count; ++dataOffset) { unsigned char datum = readData[dataOffset]; if (datum != WIG_NO_DATA) { int x1 = ((wi->chromStart - winStart) + (dataOffset * wi->span)); int x2 = x1 + wi->span; if (x2 >= width ) x2 = width ; if (x1 < width) { - printf("x %d %d\n", x1, x2); for (; x1 < x2; ++x1) { if ((x1 >= 0)) { array[x1] = BIN_TO_VALUE(datum,wi->lowerLimit,wi->dataRange); } } } } } } void getWigData(char *db, char *table, char *chrom, unsigned winStart, unsigned winEnd, double *array) /* Query the database to find the regions in the WIB file we need to read to get data for a specified range. */ {