X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=readcluster.cpp;fp=readcluster.cpp;h=c8a8bc7b5074bf91ea46e2c30f2364a509d2c5ff;hb=e189982e0a9b7352ad57cc38ccee675f128be22e;hp=acbebaeece94faf995cd9d1a26112e40185314b8;hpb=fdc1f6eaf544f695fc1511f24bddd7e6069c33ba;p=mothur.git diff --git a/readcluster.cpp b/readcluster.cpp index acbebae..c8a8bc7 100644 --- a/readcluster.cpp +++ b/readcluster.cpp @@ -11,11 +11,12 @@ /***********************************************************************/ -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;