changing motifs should make the analysis dirty
authorDiane Trout <diane@caltech.edu>
Tue, 17 Oct 2006 19:05:29 +0000 (19:05 +0000)
committerDiane Trout <diane@caltech.edu>
Tue, 17 Oct 2006 19:05:29 +0000 (19:05 +0000)
ticket:187
though if you apply and wihtout changing anything the dirty flag will
still be set. Hopefully no one will care.

alg/mussa.cpp

index 7b62dafc174de20a5f6747a6f7f0b470c02200f9..6eb8e7c3f3cb88b2ecc950d368f0af330d5a3c4e 100644 (file)
@@ -751,6 +751,7 @@ void Mussa::add_motif(const Sequence& motif, const Color& color)
 {
   motif_sequences.insert(motif);
   color_mapper->appendInstanceColor("motif", motif.get_sequence(), color);
+  dirty = true;
 }
 
 void Mussa::set_motifs(const vector<Sequence>& motifs,