Permalink
Browse files

Adds tax spaced read to sort.seqs

  • Loading branch information...
1 parent c7179b4 commit 9ead811c251f25895fc28ef29043d14541edb4c4 @mothur-westcott mothur-westcott committed Aug 24, 2016
Showing with 4 additions and 4 deletions.
  1. +4 −4 source/commands/sortseqscommand.cpp
@@ -1156,8 +1156,8 @@ int SortSeqsCommand::readTax(){
while(!in.eof()){
if (m->control_pressed) { in.close(); out.close(); m->mothurRemove(outputFileName); return 0; }
- in >> name; m->gobble(in);
- in >> tax; m->gobble(in);
+ in >> name; m->gobble(in);
+ tax = m->getline(in); m->gobble(in);
if (name != "") {
map<string, int>::iterator it = names.find(name);
@@ -1186,8 +1186,8 @@ int SortSeqsCommand::readTax(){
while(!in.eof()){
if (m->control_pressed) { in.close(); out.close(); m->mothurRemove(outputFileName); return 0; }
- in >> name; m->gobble(in);
- in >> tax; m->gobble(in);
+ in >> name; m->gobble(in);
+ tax = m->getline(in); m->gobble(in);
if (name != "") {
//if this name is in the accnos file

0 comments on commit 9ead811

Please sign in to comment.