Skip to content
Snippets Groups Projects
Commit 5d5cdbd3 authored by Thomas Maurel's avatar Thomas Maurel
Browse files

Have replaced the deprecated "fetch_all_failed_jobs" by "fetch_all_by_analysis_id_status".

The new function takes an analysis_id and a job status as parameters.
parent f726d971
No related branches found
No related tags found
No related merge requests found
......@@ -124,7 +124,7 @@ sub jobs {
sub failed {
my ($self) = @_;
my $failed = $self->db()->get_AnalysisJobAdaptor()->fetch_all_failed_jobs();
my $failed = $self->db()->get_AnalysisJobAdaptor()->fetch_all_by_analysis_id_status(undef,'FAILED');
if(! @{$failed}) {
return 'No jobs failed. Congratulations!';
}
......
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