Commit eb595e64 authored by Dan Staines's avatar Dan Staines
Browse files

check to see if canonical translation is set before trying to access it

parent 708dc463
......@@ -849,7 +849,9 @@ sub seq {
my $canonical_translation = $transcript->translation();
my $is_alternative;
if(!$canonical_translation) {
throw "Transcript does not have a canonical translation";
if ( defined( $canonical_translation->stable_id() )
&& defined( $self->stable_id() ) )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment