]> git.donarmstrong.com Git - mothur.git/blobdiff - sequence.cpp
a few minor things - pds
[mothur.git] / sequence.cpp
index 580f68ae7706ed15a11f9f460e29a56bd441767b..aa1f1c7eae3c0b1cb08105a070a172169ecf320e 100644 (file)
@@ -89,7 +89,7 @@ void Sequence::setName(string seqName) {
 
 void Sequence::setUnaligned(string sequence){
        
-       if(sequence.find_first_of('-') != string::npos) {
+       if(sequence.find_first_of('.') != string::npos || sequence.find_first_of('-') != string::npos) {
                string temp = "";
                for(int j=0;j<sequence.length();j++) {
                        if(isalpha(sequence[j]))        {       temp += sequence[j];    }