Skip to content
Snippets Groups Projects
Commit 2bfad4f0 authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

UnmappedObjectAdaptor is a BaseFeatureAdaptor, but unmapped objects has

no seq_region, so exclude from hack in generic_fetch().
parent ad401dc5
No related branches found
No related tags found
No related merge requests found
......@@ -350,7 +350,9 @@ sub generic_fetch {
# Hack for feature types that needs to be restricted to species_id (in
# coord_system).
if ( $self->isa('Bio::EnsEMBL::DBSQL::BaseFeatureAdaptor') ) {
if ( $self->isa('Bio::EnsEMBL::DBSQL::BaseFeatureAdaptor')
&& !$self->isa('Bio::EnsEMBL::DBSQL::UnmappedObjectAdaptor') )
{
push @tabs, [ 'seq_region', 'sr' ], [ 'coord_system', 'cs' ];
$extra_default_where = sprintf(
......
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