Need to force tying a GlSequence's AnnotationColor mapper to the one in
the mussa analysis, not the default being created in GlTracks
{
cout << "analysis updated" << endl;
path_view.scene().clear();
+ path_view.scene().setColorMapper(analysis->colorMapper());
const vector<Sequence>& seqs = analysis->sequences();
for(vector<Sequence>::const_iterator seq_i = seqs.begin();
seq_i != seqs.end();
++seq_i)
{
- path_view.scene().push_sequence(*seq_i);
+ GlSequence *gs= new GlSequence(*seq_i, analysis->colorMapper());
+ path_view.scene().push_sequence(*gs);
}
updateLinks();
path_view.updateTracks();