85be21057a058a0bdb12caac2bae553376442f5a
angie
  Mon Apr 15 10:56:28 2013 -0700
Refactoring to remove dependencies on annoGratorQuery from streamers,grators and formatters.  Instead, provide basic assembly info and
explicitly pass streamers(/grators) along with the rows that they
produced into formatters. ref #6152

diff --git src/hg/lib/annoGrateWigDb.c src/hg/lib/annoGrateWigDb.c
index 60de65b..896b8bf 100644
--- src/hg/lib/annoGrateWigDb.c
+++ src/hg/lib/annoGrateWigDb.c
@@ -1,12 +1,12 @@
 /* annoGrateWigDb -- subclass of annoGrator for wiggle database table & file */
 
 #include "annoGrateWigDb.h"
 #include "annoStreamWig.h"
 #include "wiggle.h"
 
-struct annoGrator *annoGrateWigDbNew(char *db, char *table, int maxOutput)
+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). */
 {
-struct annoStreamer *wigSource = annoStreamWigDbNew(db, table, maxOutput);
+struct annoStreamer *wigSource = annoStreamWigDbNew(db, table, aa, maxOutput);
 return annoGrateWigNew(wigSource);
 }