]> git.donarmstrong.com Git - mothur.git/blobdiff - readcluster.cpp
some changes while testing 1.9
[mothur.git] / readcluster.cpp
index acbebaeece94faf995cd9d1a26112e40185314b8..c8a8bc7b5074bf91ea46e2c30f2364a509d2c5ff 100644 (file)
 
 /***********************************************************************/
 
-ReadCluster::ReadCluster(string distfile, float c){
+ReadCluster::ReadCluster(string distfile, float c, string o){
                globaldata = GlobalData::getInstance();
                m = MothurOut::getInstance();
         distFile = distfile;
                cutoff = c;
+               outputDir = o;
 }
 
 /***********************************************************************/
@@ -28,7 +29,7 @@ int ReadCluster::read(NameAssignment* nameMap){
                
                if (m->control_pressed) { return 0; }
                
-               OutPutFile = sortFile(distFile);
+               OutPutFile = sortFile(distFile, outputDir);
                
                return 0;