only show 'interesting' variants in the stexaminer; send only witnesses
Tara L Andrews [Fri, 16 Mar 2012 10:54:35 +0000 (11:54 +0100)]
present in the stemma to the solvers

lib/stemmaweb/Controller/Stexaminer.pm

index 1449ad2..cb9990f 100644 (file)
@@ -37,7 +37,7 @@ sub index :Path :Args(1) {
                $c->stash->{text_title} = $tradition->name;
                $c->stash->{template} = 'stexaminer.tt'; 
                # TODO Run the analysis as AJAX from the loaded page.
-               my $t = run_analysis( $tradition );
+               my $t = run_analysis( $tradition, 'exclude_type1' => 1 );
                # Stringify the reading groups
                foreach my $loc ( @{$t->{'variants'}} ) {
                        my $mst = wit_stringify( $loc->{'missing'} );