}
}
}
- clog << "all_cmp=" << all_comparisons.size()
- << " path_size=" << pathz.begin()->size() << endl;
- assert ( (pathz.begin()->size() == 0)
+ clog << "all_cmp=" << all_comparisons.size();
+ if (pathz.begin() != pathz.end())
+ clog << " path_size=" << pathz.begin()->size();
+ else
+ clog << " path empty";
+ clog << endl;
+ assert ( (pathz.begin() == pathz.end())
+ || (pathz.begin()->size() == 0)
|| (all_comparisons.size() == pathz.begin()->size()));
}
}
-
-
// dumbly goes thru and combines path windows exactly adjacent (ie + 1 index)
// doesn't deal with interleaved adjacency
void
}
-
-
void
NwayPaths::path_search(vector<vector<FLPs> > all_comparisons, ConservedPath path, int depth)
{
void PathScene::mussaesque()
{
- static GLuint theLines = make_line_list();
+ //static GLuint theLines = make_line_list();
glInitNames();
glPushName(10);
- glCallList(theLines);
- //draw_lines();
+ //glCallList(theLines);
+ draw_lines();
glLoadName(0);
draw_tracks();
glPopName();
mussaViewTB->addAction(toggleMotifsAction);
ThresholdWidget *threshold = new ThresholdWidget;
- threshold->setRange(21, 30);
- scene->setClipPlane(21);
+ threshold->setRange(19, 30);
+ threshold->setThreshold(19);
+ scene->setClipPlane(20);
+ // FIXME: for when we get the paths drawn at the appropriate depth
+ //connect(threshold, SIGNAL(thresholdChanged(int)),
+ // scene, SLOT(setClipPlane(int)));
connect(threshold, SIGNAL(thresholdChanged(int)),
- scene, SLOT(setClipPlane(int)));
+ scene, SLOT(setSoftThreshold(int)));
mussaViewTB->addWidget(threshold);
//Image Save Dialog