]> git.donarmstrong.com Git - mothur.git/blobdiff - getoturepcommand.cpp
rechecking in
[mothur.git] / getoturepcommand.cpp
index 9dfc8bdeadc83c9784a42c10d66b26efcd52e8d4..b3bfd42369297c2caf5441ce56f65594cfa7c68e 100644 (file)
@@ -522,7 +522,7 @@ string GetOTURepCommand::findRep(vector<string> names) {
        try{
                // if only 1 sequence in bin or processing the "unique" label, then 
                // the first sequence of the OTU is the representative one
-               if ((names.size() == 1) || (list->getLabel() == "unique")) {
+               if ((names.size() == 2) || (names.size() == 1) || (list->getLabel() == "unique")) {
                        return names[0];
                }else{
                        vector<int> seqIndex(names.size());