]> git.donarmstrong.com Git - mothur.git/blobdiff - engine.cpp
changed normalize.shared and sub.sample commands to fix bug in normalize.shared and...
[mothur.git] / engine.cpp
index 3108f3733d59078c9c5273b0a2a2f1c145cd33d0..af88e4f143924e5938740b52d4e76dbcd641f910 100644 (file)
@@ -186,6 +186,8 @@ bool InteractEngine::getInput(){
                                        mout->names.clear();
                                        mout->saveNextLabel = "";
                                        mout->printedHeaders = false;
+                                       mout->currentBinLabels.clear();
+                                       mout->binLabelsInFile.clear();
                                                        
                                        Command* command = cFactory->getCommand(commandName, options);
                                        quitCommandCalled = command->execute();
@@ -368,6 +370,9 @@ bool BatchEngine::getInput(){
                                        mout->names.clear();
                                        mout->saveNextLabel = "";
                                        mout->printedHeaders = false;
+                                       mout->currentBinLabels.clear();
+                                       mout->binLabelsInFile.clear();
+
                                                        
                                        Command* command = cFactory->getCommand(commandName, options);
                                        quitCommandCalled = command->execute();
@@ -532,6 +537,9 @@ bool ScriptEngine::getInput(){
                                        mout->names.clear();
                                        mout->saveNextLabel = "";
                                        mout->printedHeaders = false;
+                                       mout->currentBinLabels.clear();
+                                       mout->binLabelsInFile.clear();
+
                                                        
                                        Command* command = cFactory->getCommand(commandName, options);
                                        quitCommandCalled = command->execute();