use File::Temp;
use JSON;
use Text::Tradition::Analysis qw/ run_analysis wit_stringify /;
-use Text::Tradition::Collation;
use Text::Tradition::Stemma;
BEGIN { extends 'Catalyst::Controller' }
my @layerwits = $c->request->param('layerwits[]');
open my $stemma_fh, '<', \$dot;
binmode( $stemma_fh, ':encoding(UTF-8)' );
- my $emptycoll = Text::Tradition::Collation->new();
- my $tempstemma = Text::Tradition::Stemma->new(
- collation => $emptycoll, 'dot' => $stemma_fh );
+ my $tempstemma = Text::Tradition::Stemma->new( 'dot' => $stemma_fh );
my $svgopts = { size => [ 600, 350 ] };
if( @layerwits ) {
$svgopts->{'layerwits'} = \@layerwits;