Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
ensembl
Commits
8f39079d
Commit
8f39079d
authored
Aug 13, 2012
by
Magali Ruffier
Browse files
should return an array ref, not a slice
parent
6908c322
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/Bio/EnsEMBL/DBSQL/SliceAdaptor.pm
modules/Bio/EnsEMBL/DBSQL/SliceAdaptor.pm
+2
-2
No files found.
modules/Bio/EnsEMBL/DBSQL/SliceAdaptor.pm
View file @
8f39079d
...
...
@@ -628,8 +628,6 @@ sub fetch_by_region_unique {
$self
->
_build_exception_cache
();
}
if
(
!
exists
(
$self
->
{'
asm_exc_cache
'}
->
{
$self
->
get_seq_region_id
(
$slice
)
}
))
{
return
$slice
;
}
if
(
exists
(
$self
->
{'
asm_exc_cache
'}
->
{
$self
->
get_seq_region_id
(
$slice
)
}
)
)
...
...
@@ -646,6 +644,8 @@ sub fetch_by_region_unique {
push
(
@out
,
$segment
->
[
2
]
);
}
}
}
else
{
@out
=
(
$slice
);
}
return
\
@out
;
...
...
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