6177796769f524b754690944dc7716504f0e6ee2
angie
  Tue Apr 3 14:53:54 2012 -0700
Fixing style errors found by Brian in code review: public methodsdefined in structs are functions, so the comment should go below
the definition not above.

diff --git src/inc/annoGrator.h src/inc/annoGrator.h
index fd173f8..64b0c24 100644
--- src/inc/annoGrator.h
+++ src/inc/annoGrator.h
@@ -1,37 +1,39 @@
 /* annoGrator -- annoStreamer that integrates genomic annotations from two annoStreamers */
 
-// Subclasses of annoGrator can do value-add things such as predict function given
+// Subclasses of annoGrator can add new columns of output such as predicted function given
 // a variant and a gene; the base class simply intersects by position, returning
 // all rows from its internal data source that overlap the position of primaryRow.
 // The interface to an annoGrator is almost the same as the interface to an annoStreamer,
 // *except* you call integrate() instead of nextRow().
 
 #ifndef ANNOGRATOR_H
 #define ANNOGRATOR_H
 
 #include "annoStreamer.h"
 
 struct annoGrator
 /* annoStreamer that can integrate an internal annoStreamer's data
  * with data from a primary source. */
     {
     struct annoStreamer streamer;	// external annoStreamer interface
+
     // Public method that makes this a 'grator:
-    // Integrate own source's data with single row of primary source's data
     struct annoRow *(*integrate)(struct annoGrator *self, struct annoRow *primaryRow,
 				 boolean *retRJFilterFailed);
+    /* Integrate internal source's data with single row of primary source's data */
+
     // Private members -- callers are on the honor system to access these using only methods above.
     struct annoStreamer *mySource;	// internal source
     char *prevPChrom;			// for detection of unsorted input from primary
     uint prevPStart;			// for detection of unsorted input from primary
     boolean eof;			// stop asking internal source for rows when it's done
     struct annoRow *qHead;		// head of FIFO queue of rows from internal source
     struct annoRow *qTail;		// head of FIFO queue of rows from internal source
     };
 
 #endif//ndef ANNOGRATOR_H
 
 // ---------------------- annoGrator default methods -----------------------
 
 struct annoRow *annoGratorIntegrate(struct annoGrator *self, struct annoRow *primaryRow,
 				    boolean *retRJFilterFailed);