From 31699e3afdfbfda6374a1372d14400f1c9d06dea Mon Sep 17 00:00:00 2001 From: Leo Gordon <lg4@ebi.ac.uk> Date: Thu, 3 Jul 2014 15:34:14 +0100 Subject: [PATCH] bugfix : make sure pipeline_wide_parameters are stringified prior to storing -- thanks, Magali! --- modules/Bio/EnsEMBL/Hive/PipeConfig/HiveGeneric_conf.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/Bio/EnsEMBL/Hive/PipeConfig/HiveGeneric_conf.pm b/modules/Bio/EnsEMBL/Hive/PipeConfig/HiveGeneric_conf.pm index a25566317..167840d44 100644 --- a/modules/Bio/EnsEMBL/Hive/PipeConfig/HiveGeneric_conf.pm +++ b/modules/Bio/EnsEMBL/Hive/PipeConfig/HiveGeneric_conf.pm @@ -61,6 +61,7 @@ use strict; use warnings; use Bio::EnsEMBL::Hive; +use Bio::EnsEMBL::Hive::Utils ('stringify'); use Bio::EnsEMBL::Hive::Utils::Collection; use Bio::EnsEMBL::Hive::Utils::URL; use Bio::EnsEMBL::Hive::DBSQL::DBAdaptor; @@ -469,7 +470,7 @@ sub add_objects_from_config { while( my ($param_name, $param_value) = each %$new_pwp_entries ) { Bio::EnsEMBL::Hive::PipelineWideParameters->add_new_or_update( 'param_name' => $param_name, - 'param_value' => $param_value, + 'param_value' => stringify($param_value), ); } warn "Done.\n\n"; -- GitLab