applyButton("set motifs")
{
assert (m != 0);
- const set<string> &motif = analysis->motifs();
+ const set<Sequence> &motif = analysis->motifs();
vector<string> motif_seq(motif.begin(), motif.end());
connect(&applyButton, SIGNAL(clicked()), this, SLOT(updateMotifs()));
analysis->colorMapper()->appendTypeColor("motif", motif_default);
// add our motifs back
- vector<string> motifs;
+ vector<Sequence> motifs;
vector<Color> colors;
for(std::vector<MotifDetail *>::iterator md_i = motif_details.begin();
++md_i)
{
if ((*md_i)->motif().size() > 0 && (*md_i)->enabled()) {
+ Sequence new_motif((*md_i)->motif());
+ new_motif.set_header((*md_i)->name());
motifs.push_back((*md_i)->motif());
colors.push_back((*md_i)->color());
}