Commit 844f7106 authored by Leo Gordon's avatar Leo Gordon
Browse files

allow creation of jobs in a hive_db from a DB-less job

parent 7819d7e3
......@@ -28,6 +28,7 @@ package Bio::EnsEMBL::Hive::AnalysisJob;
use strict;
use Bio::EnsEMBL::Utils::Argument; # import 'rearrange()'
use Bio::EnsEMBL::Hive::DBSQL::AnalysisJobAdaptor;
use Bio::EnsEMBL::Hive::DBSQL::DataflowRuleAdaptor;
use base ('Bio::EnsEMBL::Hive::Params');
......@@ -283,7 +284,7 @@ sub dataflow_output_id {
foreach my $output_id ( @$output_ids_for_this_rule ) {
if(my $job_id = $self->adaptor->CreateNewJob(
if(my $job_id = Bio::EnsEMBL::Hive::DBSQL::AnalysisJobAdaptor->CreateNewJob(
-input_id => $output_id,
-analysis => $target_analysis_or_table,
-input_job_id => $self->dbID, # creator_job's id
......
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