Skip to content
Snippets Groups Projects
Commit cce668b8 authored by Patrick Meidl's avatar Patrick Meidl
Browse files

renamed dynamic_use() to inject()

parent 1479ccc6
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ no warnings 'uninitialized';
use FindBin qw($Bin);
use Bio::EnsEMBL::Utils::ConfParser;
use Bio::EnsEMBL::Utils::Logger;
use Bio::EnsEMBL::Utils::ScriptUtils qw(dynamic_use path_append);
use Bio::EnsEMBL::Utils::ScriptUtils qw(inject path_append);
use Bio::EnsEMBL::Utils::Exception qw(throw warning);
# parse configuration and commandline arguments
......@@ -110,7 +110,7 @@ my $logger = new Bio::EnsEMBL::Utils::Logger(
# build cache
my $cache_impl = $conf->param('cache_impl');
dynamic_use($cache_impl);
inject($cache_impl);
my $cache = $cache_impl->new(
-LOGGER => $logger,
......
......@@ -65,7 +65,7 @@ no warnings 'uninitialized';
use FindBin qw($Bin);
use Bio::EnsEMBL::Utils::ConfParser;
use Bio::EnsEMBL::Utils::Logger;
use Bio::EnsEMBL::Utils::ScriptUtils qw(dynamic_use path_append);
use Bio::EnsEMBL::Utils::ScriptUtils qw(inject path_append);
use Bio::EnsEMBL::Utils::Exception qw(throw warning);
# parse configuration and commandline arguments
......@@ -134,7 +134,7 @@ exit($retval);
sub build_cache_auto {
# load the cache implementation
my $cache_impl = 'Bio::EnsEMBL::IdMapping::Cache';
dynamic_use($cache_impl);
inject($cache_impl);
my $cache = $cache_impl->new(
-LOGGER => $logger,
......@@ -178,7 +178,7 @@ sub build_cache_by_seq_region {
# load the cache implementation
my $cache_impl = 'Bio::EnsEMBL::IdMapping::Cache';
dynamic_use($cache_impl);
inject($cache_impl);
my $cache = $cache_impl->new(
-LOGGER => $logger,
......@@ -278,7 +278,7 @@ sub build_cache_all {
# load the cache implementation
my $cache_impl = 'Bio::EnsEMBL::IdMapping::Cache';
dynamic_use($cache_impl);
inject($cache_impl);
my $cache = $cache_impl->new(
-LOGGER => $logger,
......
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