]> git.donarmstrong.com Git - mothur.git/blobdiff - shhhercommand.cpp
some of pat's small modifications
[mothur.git] / shhhercommand.cpp
index 459dca300f525b3d642ac5620f8f9c1c3e07426a..469bd4d455a1d658a4ef3fe7ce69af86403a9e02 100644 (file)
@@ -167,11 +167,12 @@ ShhherCommand::ShhherCommand(string option) {
                        else{
                                ofstream temp;
 
-                               compositeFASTAFileName = flowFilesFileName.substr(0, flowFilesFileName.length()-10) + "shhh.fasta";
+                               //flow.files = 9 character offset
+                               compositeFASTAFileName = flowFilesFileName.substr(0, flowFilesFileName.length()-9) + "shhh.fasta";
                                m->openOutputFile(compositeFASTAFileName, temp);
                                temp.close();
                                
-                               compositeNamesFileName = flowFilesFileName.substr(0, flowFilesFileName.length()-10) + "shhh.names";
+                               compositeNamesFileName = flowFilesFileName.substr(0, flowFilesFileName.length()-9) + "shhh.names";
                                m->openOutputFile(compositeNamesFileName, temp);
                                temp.close();
                        }