From: Tara L Andrews Date: Mon, 9 Jul 2012 18:54:49 +0000 (+0200) Subject: allow start/end rank for dot and svg X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=68c59fcd34b2c4b50dbbbd4662d44bff71aa43e0;p=scpubgit%2Fstemmatology.git allow start/end rank for dot and svg --- diff --git a/script/make_tradition.pl b/script/make_tradition.pl index 908500d..16d8519 100755 --- a/script/make_tradition.pl +++ b/script/make_tradition.pl @@ -57,8 +57,8 @@ unless( $outformat =~ /^(graphml|svg|dot|stemma|csv|db)$/ ) { } if( $from || $to ) { - help( "Subgraphs only supported in GraphML format" ) - unless $outformat eq 'graphml'; + help( "Subgraphs only supported in GraphML, dot, or SVG format" ) + unless $outformat =~ /^(graphml|dot|svg)$/; } # Do we have a base if we need it?