Commit 7b2a4e3e authored by Jessica Severin's avatar Jessica Severin
Browse files

in method dataflow_output_id, added setting of prev_analysis_job_id

(taken from %self->input_job->dbID).
parent 1021005a
......@@ -167,10 +167,16 @@ sub dataflow_output_id {
$branch_code=1 unless(defined($branch_code));
# Dataflow works by doing a transform from this process to the next.
# The job starts out 'attached' to this process hence the analysis_id, branch_code, and dbID
# are all relative to the starting point. The dataflow process transforms the job to a
# different analysis_id, and moves the dbID to the previous_analysis_job_id
my $job = new Bio::EnsEMBL::Hive::AnalysisJob;
$job->input_id($output_id);
$job->analysis_id($self->analysis->dbID);
$job->branch_code($branch_code);
$job->dbID($self->input_job->dbID);
#if process uses branch_code 1 explicitly, turn off automatic dataflow
$self->autoflow_inputjob(0) if($branch_code==1);
......
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