Commit 316e66b5 authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

Use CORE::length() rather than just length() to disambiguate.

parent aac80749
......@@ -153,11 +153,11 @@ sub new {
throw('SEQ_REGION_LENGTH must be > 0');
}
if ( defined($seq) && length($seq) != ( $end - $start + 1 ) ) {
throw( 'SEQ must be the same length as the defined LENGTH not '
. length($seq)
. ' compared to '
. ( $end - $start + 1 ) );
if ( defined($seq) && CORE::length($seq) != ( $end - $start + 1 ) ) {
throw('SEQ must be the same length as the defined LENGTH not '
. CORE::length($seq)
. ' compared to '
. ( $end - $start + 1 ) );
}
if(defined($coord_system)) {
......
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