]> git.donarmstrong.com Git - mothur.git/blobdiff - classifyseqscommand.cpp
added set.current and get.current commands and modified existing commands to update...
[mothur.git] / classifyseqscommand.cpp
index 2dfe05a05f9e267390c7e7656dee12d0ee1ab169..6cfa3321c1cfd9b14cc3bf4b86d400c46feecb3c 100644 (file)
@@ -682,6 +682,13 @@ int ClassifySeqsCommand::execute(){
                        m->mothurOutEndLine();
                }
                
+               //set taxonomy file as new current taxonomyfile
+               string current = "";
+               itTypes = outputTypes.find("taxonomy");
+               if (itTypes != outputTypes.end()) {
+                       if ((itTypes->second).size() != 0) { current = (itTypes->second)[0]; m->setTaxonomyFile(current); }
+               }
+               
                delete classify;
                return 0;
        }