Permalink
Browse files

Fixes groupIndex for selectedGroups option

Pre.cluster

#220
  • Loading branch information...
1 parent 86b5ed3 commit 4d8056d0006e5cae4412795fddab9dceefc2021b @mothur-westcott mothur-westcott committed on GitHub Oct 6, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/datastructures/sequencecountparser.cpp
@@ -124,7 +124,7 @@ int SequenceCountParser::readFasta(string fastafile, CountTable& countTable) {
for (int i = 0; i < namesOfGroups.size(); i++) {
if (groupCounts[indexes[i]] != 0) {
seqs[namesOfGroups[i]].push_back(seq);
- countTablePerGroup[namesOfGroups[i]][seq.getName()] = groupCounts[i];
+ countTablePerGroup[namesOfGroups[i]][seq.getName()] = groupCounts[indexes[i]];
}
}
}

0 comments on commit 4d8056d

Please sign in to comment.