b640e1cf96ee2c383dbf464c1737786945497fcb kent Mon Jan 11 15:51:38 2021 -0800 Removing debugging statement. diff --git src/utils/clusterMatrixToBarChartBed/clusterMatrixToBarChartBed.c src/utils/clusterMatrixToBarChartBed/clusterMatrixToBarChartBed.c index bdaeb3a..20cfd80 100644 --- src/utils/clusterMatrixToBarChartBed/clusterMatrixToBarChartBed.c +++ src/utils/clusterMatrixToBarChartBed/clusterMatrixToBarChartBed.c @@ -234,34 +234,30 @@ char **geneBedVal = onePos->val; // Get our bed as string array out of hash /* Zero out cluster histogram */ int i; for (i=0; i<clusterCount; ++i) { clusterTotal[i] = 0.0; clusterElements[i] = 0; } /* Loop through rest of row filling in histogram */ for (i=1; i<colCount; ++i) { int clusterIx = colToCluster[i]; char *textVal = matrixRow[i]; -if (clusterIx == clusterCount - 1) //ugly - { - uglyf("%s %d %s\n", geneName, i, textVal); - } // special case so common we parse out "0" inline double val = (textVal[0] == '0' && textVal[1] == 0) ? 0.0 : sqlDouble(textVal); sumTotal += val; int valCount = clusterElements[clusterIx]; clusterElements[clusterIx] = valCount+1; if (doMedian) { if (valCount >= clusterSize[clusterIx]) internalErr(); clusterSamples[clusterIx][valCount] = val; } else clusterTotal[clusterIx] += val; }