]> git.donarmstrong.com Git - mothur.git/blobdiff - engine.cpp
adding labels to list file.
[mothur.git] / engine.cpp
index e4e107168c5723c82b90a7f103ccb8d9ee83cb60..d6be4e4f1a16e00af29cfe36052c98e3a6e98efb 100644 (file)
@@ -123,10 +123,12 @@ bool InteractEngine::getInput(){
                                        mout->clearAllGroups();
                                        mout->Treenames.clear();
                                        mout->saveNextLabel = "";
-                                       mout->printedHeaders = false;
-                                       mout->commandInputsConvertError = false;
-                                       mout->currentBinLabels.clear();
-                                       mout->binLabelsInFile.clear();
+                    mout->commandInputsConvertError = false;
+                                       mout->printedSharedHeaders = false;
+                                       mout->currentSharedBinLabels.clear();
+                                       mout->sharedBinLabelsInFile.clear();
+                    mout->printedListHeaders = false;
+                    mout->listBinLabelsInFile.clear();
                                                        
                                        Command* command = cFactory->getCommand(commandName, options);
                                        if (mout->commandInputsConvertError) { quitCommandCalled = 2; }
@@ -309,10 +311,12 @@ bool BatchEngine::getInput(){
                                        mout->clearAllGroups();
                                        mout->Treenames.clear();
                                        mout->saveNextLabel = "";
-                                       mout->printedHeaders = false;
                                        mout->commandInputsConvertError = false;
-                                       mout->currentBinLabels.clear();
-                                       mout->binLabelsInFile.clear();
+                    mout->printedSharedHeaders = false;
+                    mout->currentSharedBinLabels.clear();
+                    mout->sharedBinLabelsInFile.clear();
+                    mout->printedListHeaders = false;
+                    mout->listBinLabelsInFile.clear();
 
                                                        
                                        Command* command = cFactory->getCommand(commandName, options);
@@ -480,10 +484,12 @@ bool ScriptEngine::getInput(){
                                        mout->clearAllGroups();
                                        mout->Treenames.clear();
                                        mout->saveNextLabel = "";
-                                       mout->printedHeaders = false;
-                                       mout->commandInputsConvertError = false;
-                                       mout->currentBinLabels.clear();
-                                       mout->binLabelsInFile.clear();
+                    mout->commandInputsConvertError = false;
+                    mout->printedSharedHeaders = false;
+                    mout->currentSharedBinLabels.clear();
+                    mout->sharedBinLabelsInFile.clear();
+                    mout->printedListHeaders = false;
+                    mout->listBinLabelsInFile.clear();
 
                                        Command* command = cFactory->getCommand(commandName, options);
                                        if (mout->commandInputsConvertError) { quitCommandCalled = 2; }