]> git.donarmstrong.com Git - mothur.git/blobdiff - screenseqscommand.cpp
version working on mac with .tellg changed to unget for windows
[mothur.git] / screenseqscommand.cpp
index ca1d616a867c33a3d42dd98131960db6d2224177..70094f2f3afe77711dcb4fe7b46d70f3d35f4835 100644 (file)
@@ -39,7 +39,7 @@ ScreenSeqsCommand::ScreenSeqsCommand(string option){
                        fastafile = validParameter.validFile(parameters, "fasta", true);
                        if (fastafile == "not found") { cout << "fasta is a required parameter for the screen.seqs command." << endl; abort = true; }
                        else if (fastafile == "not open") { abort = true; }     
-               
+       
                        groupfile = validParameter.validFile(parameters, "group", true);
                        if (groupfile == "not open") { abort = true; }  
                        else if (groupfile == "not found") { groupfile = ""; }
@@ -50,7 +50,7 @@ ScreenSeqsCommand::ScreenSeqsCommand(string option){
 
                        alignreport = validParameter.validFile(parameters, "alignreport", true);
                        if (alignreport == "not open") { abort = true; }
-                       else if (alignreport == "not found") { namefile = ""; } 
+                       else if (alignreport == "not found") { alignreport = ""; }      
                        
                        //check for optional parameter and set defaults
                        // ...at some point should added some additional type checking...