]> git.donarmstrong.com Git - mothur.git/blobdiff - binsequencecommand.cpp
This is v.1.4.0
[mothur.git] / binsequencecommand.cpp
index 1627b42d7bec5090a708c77d7491b93fa3bc7cdd..0ae5d9e46f30fb777593223a5618beaf1ea7aad9 100644 (file)
@@ -79,7 +79,7 @@ BinSeqCommand::BinSeqCommand(string option){
                        else if (groupfile == "not found") { groupfile = ""; }
                        
                        if (abort == false) { 
-                               openInputFile(fastafile, in);
+//                             openInputFile(fastafile, in);
                                fasta = new FastaMap();
                                if (groupfile != "") {
                                        groupMap = new GroupMap(groupfile);
@@ -147,9 +147,8 @@ int BinSeqCommand::execute(){
                int error = 0;
                
                //read fastafile
-               fasta->readFastaFile(in);
+               fasta->readFastaFile(fastafile);
                
-               in.close();
                
                //set format to list so input can get listvector
 //             globaldata->setFormat("list");