Skip to content
Snippets Groups Projects
Commit e5027e10 authored by Leo Gordon's avatar Leo Gordon
Browse files

bugfix

parent 54230ece
No related branches found
No related tags found
No related merge requests found
......@@ -141,12 +141,10 @@ sub Bio::EnsEMBL::DBSQL::AnalysisAdaptor::fetch_by_logic_name_or_url {
my $self = shift @_;
my $logic_name_or_url = shift @_;
if($logic_name_or_url =~ /^\w+$/) {
return $self->fetch_by_logic_name($logic_name_or_url);
} elsif($logic_name_or_url =~ /^mysql:/) {
if($logic_name_or_url =~ m{^\w+://}) {
return Bio::EnsEMBL::Hive::URLFactory->fetch($logic_name_or_url, $self->db);
} else {
return 0;
return $self->fetch_by_logic_name($logic_name_or_url);
}
}
......
......@@ -343,7 +343,7 @@ sub dataflow_output_id {
} else {
if(my $job_id = Bio::EnsEMBL::Hive::DBSQL::AnalysisJobAdaptor->CreateNewJob(
-input_id => $output_id,
-analysis => $rule->to_analysis,
-analysis => $target_analysis_or_table,
-input_job_id => $self->input_job->dbID, # creator_job's id
%$create_job_options
)) {
......
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