Commit 3d11fdf0 authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Allow LRGSlice in transfer()

parent 3bd47a9a
......@@ -538,7 +538,7 @@ sub transfer {
my $self = shift;
my $slice = shift;
if(!$slice || !ref($slice) || !$slice->isa('Bio::EnsEMBL::Slice')) {
if(!$slice || !ref($slice) || (!$slice->isa('Bio::EnsEMBL::Slice') && !$slice->isa('Bio::EnsEMBL::LRGSlice'))) {
throw('Slice argument is required');
}
......
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