Commit 1f84e06a authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Allow LRGSlices in get_seq_region_id()

parent 0fa18b7d
......@@ -559,7 +559,7 @@ sub get_seq_region_id {
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