]> git.donarmstrong.com Git - mothur.git/blobdiff - getrabundcommand.cpp
added set.current and get.current commands and modified existing commands to update...
[mothur.git] / getrabundcommand.cpp
index 0b2d4ee3ed0de4daf04da29b9ad5a3595143c4b1..3b03f3694967d6d480ba0dc00153454c7e8b074f 100644 (file)
@@ -262,6 +262,13 @@ int GetRAbundCommand::execute(){
                
                globaldata->gListVector = NULL;
                
+               //set rabund file as new current rabundfile
+               string current = "";
+               itTypes = outputTypes.find("rabund");
+               if (itTypes != outputTypes.end()) {
+                       if ((itTypes->second).size() != 0) { current = (itTypes->second)[0]; m->setRabundFile(current); }
+               }
+               
                return 0;               
        }