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
82a19226
Commit
82a19226
authored
Aug 12, 2013
by
Magali Ruffier
Browse files
replaced reg variable with registry
parent
2131d21a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/Bio/EnsEMBL/DBSQL/MergedAdaptor.pm
modules/Bio/EnsEMBL/DBSQL/MergedAdaptor.pm
+3
-3
No files found.
modules/Bio/EnsEMBL/DBSQL/MergedAdaptor.pm
View file @
82a19226
...
...
@@ -48,7 +48,7 @@ use strict;
use
Bio::EnsEMBL::Utils::
Exception
qw(throw warning deprecate)
;
use
Bio::EnsEMBL::Utils::
Argument
qw(rearrange)
;
use
Bio::EnsEMBL::
Registry
;
my
$reg
=
"
Bio::EnsEMBL::Registry
";
my
$reg
istry
=
"
Bio::EnsEMBL::Registry
";
=head2 new
...
...
@@ -86,12 +86,12 @@ sub new {
my
@adaps
;
if
(
!
defined
(
$groups
)){
#get all adaptors for that species and type
@adaps
=
@
{
$reg
->
get_all_adaptors
(
-
species
=>
$species
,
-
type
=>
$type
)};
@adaps
=
@
{
$reg
istry
->
get_all_adaptors
(
-
species
=>
$species
,
-
type
=>
$type
)};
}
else
{
#get only specified adaptors for the particular groups
foreach
my
$group
(
@
{
$groups
}){
push
@adaps
,
$reg
->
get_adaptor
(
$species
,
$group
,
$type
);
push
@adaps
,
$reg
istry
->
get_adaptor
(
$species
,
$group
,
$type
);
}
}
...
...
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