X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=readnexus.cpp;h=5dffa42ae7c8fe72105cebfe50d4187e08cc3957;hb=edec660ee2be477ac1539109d949a60cb7e16243;hp=25444d5093f637d6b0ff8a09bc8816463745299d;hpb=3117b1c3109121dff476997d3c5db5b47a77729b;p=mothur.git diff --git a/readnexus.cpp b/readnexus.cpp index 25444d5..5dffa42 100644 --- a/readnexus.cpp +++ b/readnexus.cpp @@ -12,11 +12,8 @@ #include /*******************************************************************************/ -ReadNexus::ReadNexus(string file) { +ReadNexus::ReadNexus(string file) : ReadSeqs(file) { try { - openInputFile(file, filehandle); - nexusFile = file; - globaldata = GlobalData::getInstance(); } catch(exception& e) { cout << "Standard Error: " << e.what() << " has occurred in the ReadTree class Function ReadTree. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n"; @@ -56,7 +53,7 @@ void ReadNexus::read() { sequencedb.add(newSeq); } else - sequencedb.set(count, sequencedb.get(count).getAligned() + sequence); + sequencedb.set(count, sequencedb.get(count).getUnaligned() + sequence); count++; if(count == numSeqs) {