Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
0e793e29
Commit
0e793e29
authored
Jul 10, 2013
by
Magali Ruffier
Browse files
do not use dbID to get dbID from a slice
method to use is get_seq_region_id()
parent
5f711151
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/Bio/EnsEMBL/DBSQL/AttributeAdaptor.pm
modules/Bio/EnsEMBL/DBSQL/AttributeAdaptor.pm
+1
-1
No files found.
modules/Bio/EnsEMBL/DBSQL/AttributeAdaptor.pm
View file @
0e793e29
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment