src/hg/hgTracks/wigTrack.c 1.97

1.97 2009/11/30 17:59:07 kent
Making autoScale no longer the default for wiggle and related tracks. Making wiggleWindowingWhiskers follow name conventions better.
Index: src/hg/hgTracks/wigTrack.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/wigTrack.c,v
retrieving revision 1.96
retrieving revision 1.97
diff -b -B -U 4 -r1.96 -r1.97
--- src/hg/hgTracks/wigTrack.c	17 Nov 2009 22:41:59 -0000	1.96
+++ src/hg/hgTracks/wigTrack.c	30 Nov 2009 17:59:07 -0000	1.97
@@ -587,9 +587,9 @@
 		else
 		    dataValue = preDraw[i].max;
 		break;
 	case (wiggleWindowingMean):
-	case (wiggleWindowWhiskers):
+	case (wiggleWindowingWhiskers):
 		dataValue =
 		    preDraw[i].sumData / preDraw[i].count;
 		break;
 	default:
@@ -737,9 +737,9 @@
     int preDrawZero, struct wigCartOptions *wigCart, struct track *tg, struct hvGfx *hvg)
 /*	allocate and fill in a coloring array based on another track */
 {
 char *colorTrack = wigCart->colorTrack;
-boolean whiskers = (wigCart->windowingFunction == wiggleWindowWhiskers);
+boolean whiskers = (wigCart->windowingFunction == wiggleWindowingWhiskers);
 int x1;
 Color *colorArray = NULL;       /*	Array of pixels to be drawn.	*/
 
 /*	Set up the color by array. Determine color of each pixel
@@ -797,9 +797,9 @@
 Color mediumColor = MG_BLACK;	// Will be overriden
 Color lightColor = MG_BLACK;	// Will be overriden
 Color clipColor = MG_MAGENTA;
 enum wiggleGraphOptEnum lineBar = wigCart->lineBar;
-boolean whiskers = (wigCart->windowingFunction == wiggleWindowWhiskers);
+boolean whiskers = (wigCart->windowingFunction == wiggleWindowingWhiskers);
 
 /* Return gray shade corresponding to a number from 50 - 100 */
 
 /*	right now this is a simple pixel by pixel loop.  Future