src/hg/instinct/lib/hgHeatmapLib.c 1.64

1.64 2010/02/10 21:35:35 jsanborn
fixed json wrapper to be to spec
Index: src/hg/instinct/lib/hgHeatmapLib.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/instinct/lib/hgHeatmapLib.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -b -B -U 4 -r1.63 -r1.64
--- src/hg/instinct/lib/hgHeatmapLib.c	22 Oct 2009 18:40:26 -0000	1.63
+++ src/hg/instinct/lib/hgHeatmapLib.c	10 Feb 2010 21:35:35 -0000	1.64
@@ -1724,9 +1723,8 @@
 	slAddHead(&pVals,pVal);
 	} while((currEl = hashLookupNext(currEl)) != NULL);
     slReverse(pVals);
     float r,p;
-    //fprintf(stderr,"statsum: %f    ",statSum);
     if (func(pVals, &r, &p))
 	{
 	
 	AllocVar(stats);
@@ -1741,17 +1739,15 @@
 	    stats->outputVal = -p;
 	else
 	    stats->outputVal = p;
 	
-	//fprintf(stderr,"output val = %f       ",stats->outputVal);
 	slAddHead(&statsList,stats);
 	
 	if(stats->prob < min)
 	    min = stats->prob;
 	if(stats->prob > max)
 	    max = stats->prob;
 	
-	//fprintf(stderr,"Min = %f  Max = %f      ",min, max);
 	}
     }
 
 struct analysisResult *result= AllocVar(result);
@@ -1819,18 +1815,14 @@
 		stats->outputVal = -p;
 	    else
 		stats->outputVal = p;
 	    
-	    //fprintf(stderr,"output val = %f       ",stats->outputVal);
-	    //slAddHead(&statsList,stats);
 	    hashAdd(newBed5Hash, geneName, stats);
 	    
 	    if(stats->prob < min)
 					min = stats->prob;
 	    if(stats->prob > max)
 		max = stats->prob;
-	    
-	    //fprintf(stderr,"Min = %f  Max = %f      ",min, max);
 	    }
 	
 	}
     }