Commit 0e793e29 authored by Magali Ruffier's avatar Magali Ruffier
Browse files

do not use dbID to get dbID from a slice

method to use is get_seq_region_id()
parent 5f711151
......@@ -446,7 +446,7 @@ sub fetch_all_by_Slice {
if (defined($object)) {
assert_ref($object, 'Bio::EnsEMBL::Slice');
$object_id = $object->dbID();
$object_id = $object->get_seq_region_id();
my $results = $self->fetch_all_by_Object($object_id, 'seq_region', $code);
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