From f996de51d58e1fed7120be642ce5c6db5b8a09de Mon Sep 17 00:00:00 2001 From: Patrick Meidl <pm2@sanger.ac.uk> Date: Fri, 18 Apr 2008 09:29:25 +0000 Subject: [PATCH] added LOAD_INSTANCE to Cache->new() --- misc-scripts/id_mapping/id_mapping.pl | 6 +++--- misc-scripts/id_mapping/synteny_rescore.pl | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/misc-scripts/id_mapping/id_mapping.pl b/misc-scripts/id_mapping/id_mapping.pl index b21fd69057..e9576a408b 100755 --- a/misc-scripts/id_mapping/id_mapping.pl +++ b/misc-scripts/id_mapping/id_mapping.pl @@ -127,10 +127,10 @@ my $translation_mappings; # loading cache from file my $cache = Bio::EnsEMBL::IdMapping::Cache->new( - -LOGGER => $logger, - -CONF => $conf, + -LOGGER => $logger, + -CONF => $conf, + -LOAD_INSTANCE => 1, ); -$cache->read_instance_from_file; # get a stable ID mapper diff --git a/misc-scripts/id_mapping/synteny_rescore.pl b/misc-scripts/id_mapping/synteny_rescore.pl index bb79167fcd..2cdfa4baf0 100755 --- a/misc-scripts/id_mapping/synteny_rescore.pl +++ b/misc-scripts/id_mapping/synteny_rescore.pl @@ -89,10 +89,10 @@ my $logger = new Bio::EnsEMBL::Utils::Logger( # loading cache from file my $cache = Bio::EnsEMBL::IdMapping::Cache->new( - -LOGGER => $logger, - -CONF => $conf, + -LOGGER => $logger, + -CONF => $conf, + -LOAD_INSTANCE => 1, ); -$cache->read_instance_from_file; # load SyntenyFramework and gene ScoredMappingMatrix from files my $basedir = $conf->param('basedir'); -- GitLab