Commit 9d37369a authored by Leo Gordon's avatar Leo Gordon
Browse files

bugfix: substituting the accu signature on demand from the very depths of...

bugfix: substituting the accu signature on demand from the very depths of emitting job's param_stack
parent cd684b65
......@@ -100,14 +100,14 @@ sub dataflow {
foreach my $output_id (@$output_ids) {
my $key_signature = $signature_template;
$key_signature=~s/(\w+)/$output_id->{$1}/eg; # FIXME: could be possibly extended in future to also use $self->param() ?
$key_signature=~s/(\w+)/$emitting_job->_param_possibly_overridden($1,$output_id)/eg;
push @rows, {
'sending_job_id' => $sending_job_id,
'receiving_job_id' => $receiving_job_id,
'struct_name' => $struct_name,
'key_signature' => $key_signature,
'value' => stringify( $output_id->{$struct_name} ),
'value' => stringify( $emitting_job->_param_possibly_overridden($struct_name, $output_id) ),
};
}
......
......@@ -170,7 +170,7 @@ sub pipeline_analyses {
-module => 'Bio::EnsEMBL::Hive::RunnableDB::LongMult::PartMultiply',
-analysis_capacity => 4, # use per-analysis limiter
-flow_into => {
1 => { ':////accu?partial_product={digit}' => { 'a_multiplier' => '#a_multiplier#', 'digit' => '#digit#', 'partial_product' => '#partial_product#' } },
1 => [ ':////accu?partial_product={digit}' ],
},
},
......
......@@ -158,6 +158,7 @@ sub pipeline_analyses {
-module => 'Bio::EnsEMBL::Hive::RunnableDB::LongMult::PartMultiply',
-analysis_capacity => 4, # use per-analysis limiter
-flow_into => {
# NB: a_multiplier is mentioned in the template to guarantee job's uniqueness
1 => { ':////accu?partial_product={digit}' => { 'a_multiplier' => '#a_multiplier#', 'digit' => '#digit#', 'partial_product' => '#partial_product#' } },
},
},
......
Markdown is supported
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