]> git.donarmstrong.com Git - mothur.git/blobdiff - tree.cpp
fixed some bugs
[mothur.git] / tree.cpp
index c078f4f0728f0f35a9f2bc75f6174fb3eef38979..ee17e6f37f6417d24546697e3247c21f34d1d0aa 100644 (file)
--- a/tree.cpp
+++ b/tree.cpp
@@ -668,7 +668,7 @@ void Tree::parseTreeFile() {
                                if(number == ";") { globaldata->Treenames.pop_back(); }  //in case ';' from translation is on next line instead of next to last name
                        }
                }
-               
+               filehandle.close();
        }
        catch(exception& e) {
                cout << "Standard Error: " << e.what() << " has occurred in the Tree class Function parseTreeFile. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";