Commit 30af3763 authored by Mathieu Giraud's avatar Mathieu Giraud

Affect: Display k-mer with affectation only when DEBUG_KMERS is defined

parent 2821fd02
......@@ -207,8 +207,12 @@ int KmerAffectAnalyser<T>::last(const T &affect) const{
template <class T>
string KmerAffectAnalyser<T>::toString() const{
string kmer;
for (size_t i = 0; i < affectations.size(); i++)
kmer += affectations[i].toString()+": "+spaced(seq.substr(i,kms.getS()), kms.getSeed())+"\n";
for (size_t i = 0; i < affectations.size(); i++) {
kmer += affectations[i].toString();
#ifdef DEBUG_KMERS
kmer += ": "+spaced(seq.substr(i,kms.getS()), kms.getSeed())+"\n";
#endif
}
return kmer;
}
......
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