7f98bf75bd712a44b8ed9ededdd10e0f387cd35a
angie
  Thu Aug 13 10:31:58 2015 -0700
Moved averaging of wiggle values back from annoFormatTab to annoGrateWig,
so that it can be done properly across multiple regions with data.
A user was trying to get average GC over 1MB regions, but averages of
smaller subregions were returned instead.
refs #15834

diff --git src/hg/inc/annoGrateWigDb.h src/hg/inc/annoGrateWigDb.h
index 0c7a7c6..e88b668 100644
--- src/hg/inc/annoGrateWigDb.h
+++ src/hg/inc/annoGrateWigDb.h
@@ -1,15 +1,16 @@
 /* annoGrateWigDb -- subclass of annoGrator for wiggle database table & file */
 
 /* Copyright (C) 2013 The Regents of the University of California 
  * See README in this or parent directory for licensing information. */
 
 #ifndef ANNOGRATEWIGDB_H
 #define ANNOGRATEWIGDB_H
 
 #include "annoGrateWig.h"
 
 struct annoGrator *annoGrateWigDbNew(char *db, char *table, struct annoAssembly *aa,
-				     int maxOutput);
-/* Create an annoGrator subclass for wiggle data from db.table (and the file it points to). */
+                                     enum annoGrateWigMode mode, int maxOutput);
+/* Create an annoGrator subclass for wiggle data from db.table (and the file it points to).
+ * See src/inc/annoGrateWig.h for a description of mode. */
 
 #endif//ndef ANNOGRATEWIGDB_H