]> git.donarmstrong.com Git - mothur.git/blobdiff - getgroupcommand.cpp
moved utilities out of mothur.h and into mothurOut class.
[mothur.git] / getgroupcommand.cpp
index 817331f8ce06a531c447896707951b2e6ffb7b9d..cf47661bb6a8084740262d8a6b4b157181a2b0ab 100644 (file)
@@ -40,12 +40,12 @@ GetgroupCommand::GetgroupCommand(string option)  {
                        if (abort == false) {
                                //open shared file
                                sharedfile = globaldata->getSharedFile();
-                               openInputFile(sharedfile, in);
+                               m->openInputFile(sharedfile, in);
                
                                //open output file
-                               if (outputDir == "") { outputDir += hasPath(sharedfile); }
-                               outputFile = outputDir + getRootName(getSimpleName(sharedfile)) + "bootGroups";
-                               openOutputFile(outputFile, out);
+                               if (outputDir == "") { outputDir += m->hasPath(sharedfile); }
+                               outputFile = outputDir + m->getRootName(m->getSimpleName(sharedfile)) + "bootGroups";
+                               m->openOutputFile(outputFile, out);
 
                        }
                }