]> git.donarmstrong.com Git - mothur.git/blobdiff - deconvolutecommand.cpp
added pcr.seqs command. fixed bug in rarefacftion.single that caused parsing error...
[mothur.git] / deconvolutecommand.cpp
index 3541e00d064233c4da10619789291222290b33f1..3d0c0d51acaac8844b71a3efa40c7925674ad4c5 100644 (file)
@@ -154,7 +154,10 @@ int DeconvoluteCommand::execute() {
                
                map<string, string> nameMap;
                map<string, string>::iterator itNames;
-               if (oldNameMapFName != "")  {  m->readNames(oldNameMapFName, nameMap); }
+               if (oldNameMapFName != "")  {  
+            m->readNames(oldNameMapFName, nameMap); 
+            if (oldNameMapFName == outNameFile){ outNameFile = outputDir + m->getRootName(m->getSimpleName(inFastaName)) + "unique.names";   }
+        }
                
                if (m->control_pressed) { return 0; }