Commit afd70656 authored by Leo Gordon's avatar Leo Gordon
Browse files

bugfix: should not assume the presence of JobAdaptor in dataflow

parent 678336a1
......@@ -276,7 +276,8 @@ sub dataflow_output_id {
my $input_id = $self->input_id();
my $param_id_stack = $self->param_id_stack();
my $accu_id_stack = $self->accu_id_stack();
my $hive_use_param_stack = $self->adaptor->db->hive_use_param_stack();
my $hive_use_param_stack = $self->adaptor() && $self->adaptor->db->hive_use_param_stack();
if($hive_use_param_stack) {
if($input_id and ($input_id ne '{}')) { # add the parent to the param_id_stack if it had non-trivial extra parameters
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