call set_soft_threshold after subanalysis
authorDiane Trout <diane@caltech.edu>
Tue, 24 Oct 2006 00:44:15 +0000 (00:44 +0000)
committerDiane Trout <diane@caltech.edu>
Tue, 24 Oct 2006 00:44:15 +0000 (00:44 +0000)
ticket:216
this should make sure that all the match lines show up with you
first view a subanalysis. (Though perhaps not in the most
CPU efficient way.)

qui/SubanalysisWindow.cpp

index 4adadcd2f84467c3aafc4e649dc0201f920e84cc..99dfb69ea44be69c26f662cfbccd8001966f0d45 100644 (file)
@@ -101,7 +101,9 @@ void SubanalysisWindow::run()
     new_m->set_window(window->value());
     new_m->set_threshold(threshold->value());
     new_m->analyze();
-    
+    // FIXME: why isn't the nway_paths refined_pathz structure just initialized
+    // FIXME: with the contents of pathz?
+    new_m->set_soft_threshold(threshold->value());
     // copy over motifs
     std::vector<Sequence> motifs_copy;
     std::vector<Color> color_copy;