]> git.donarmstrong.com Git - mothur.git/blobdiff - formatmatrix.h
sffinfo bug with flow grams right index when clipQualRight=0
[mothur.git] / formatmatrix.h
index 4ef36d95d6d8e11db5bf065a755fd0292e809c17..859b78ab2b72569344ccf7c9485de76333ca5ae3 100644 (file)
@@ -13,6 +13,7 @@
 #include "mothur.h"
 #include "listvector.hpp"
 #include "nameassignment.hpp"
+#include "counttable.h"
 
 
 //**********************************************************************************************************************
 class FormatMatrix {
 
 public:
-       FormatMatrix(){ }
+       FormatMatrix(){ m = MothurOut::getInstance(); }
        virtual ~FormatMatrix() {}
        
-       virtual void read(NameAssignment*){};
+       virtual int read(NameAssignment*){ return 1; }
+    virtual int read(CountTable*){ return 1; }
        
        void setCutoff(float c)                 {       cutoff = c;                     }
        ListVector* getListVector()             {       return list;            }
@@ -72,6 +74,7 @@ protected:
        float cutoff;
        string distFile;
        vector<int> rowPos;
+       MothurOut* m;
 };
 
 //**********************************************************************************************************************