src/hg/instinct/hgHeatmap2/hgHeatmap2.c 1.79

1.79 2009/10/07 00:17:25 jzhu
Index: src/hg/instinct/hgHeatmap2/hgHeatmap2.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/instinct/hgHeatmap2/hgHeatmap2.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -b -B -U 4 -r1.78 -r1.79
--- src/hg/instinct/hgHeatmap2/hgHeatmap2.c	6 Oct 2009 23:41:05 -0000	1.78
+++ src/hg/instinct/hgHeatmap2/hgHeatmap2.c	7 Oct 2009 00:17:25 -0000	1.79
@@ -1162,21 +1162,12 @@
     if (!ptSubsets)
 	errAbort("ptSubsets == NULL");
     
     int i;
-    int height = 0;
     for (i = 0; i < subsetNum; i++)
 	{
 	if (!ptSubsets[i])
-	    errAbort("ptSubsets[%d] == NULL", i);
-	height += slCount(ptSubsets[i]) * hl->sampleHeight;
-	}
-    if (height < totalHeight)
-	height = totalHeight;
-    height /= 2;
-
-    for (i = 0; i < subsetNum; i++)
-	{
+	    continue;
 	heatmapLayResetMinMax(hl);
 
 	char *gGif = genesetSummaryGif(conn, hl, gh, ptSubsets[i], height, i, subsetNum);
 	char heatStr[128];