Skip to content
Snippets Groups Projects
Commit 3bd47a9a authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Allow LRGSlice in fetch_all_by_Slice_constraint().

parent 1f84e06a
No related branches found
No related tags found
No related merge requests found
......@@ -218,7 +218,7 @@ sub fetch_all_by_Slice_constraint {
my @result = ();
if(!ref($slice) || !$slice->isa("Bio::EnsEMBL::Slice")) {
if(!ref($slice) || (!$slice->isa('Bio::EnsEMBL::Slice') && !$slice->isa('Bio::EnsEMBL::LRGSlice'))) {
throw("Bio::EnsEMBL::Slice argument expected.");
}
......
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