Commit 279524ec authored by Cyprien Borée's avatar Cyprien Borée
Browse files

Change toStringValues for kmer UNKNOWN and AMBIGUOUS

the toStringValues for those two K-mers must be '_' and '?' respectively.
Even though their char macro is 1 and 0 (non printable characters).

For more informations see #3250.
parent b44cd50b
...@@ -66,6 +66,12 @@ string toString(const affect_t &a) { ...@@ -66,6 +66,12 @@ string toString(const affect_t &a) {
} }
string toStringValues(const affect_t &a){ string toStringValues(const affect_t &a){
if(a == AFFECT_UNKNOWN.affect){
return string(1, '_');
}
if(a == AFFECT_AMBIGUOUS.affect){
return string(1, '?');
}
return string(1,affect_char(a)); return string(1,affect_char(a));
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment