Commit 8bb1141c authored by Jessica Severin's avatar Jessica Severin
Browse files

removed reset_job function since this has been moved inside the Queen

parent 0c945b3d
......@@ -354,17 +354,6 @@ sub get_pending_count {
return $pend_count;
}
sub reset_job {
my $self = shift;
$self->{'dba'}->get_AnalysisJobAdaptor->reset_job_by_dbID($self->{'reset_job_id'});
my $job = $self->{'dba'}->get_AnalysisJobAdaptor->fetch_by_dbID($self->{'reset_job_id'});
my $analysis = $self->{'dba'}->get_AnalysisAdaptor->fetch_by_dbID($job->analysis_id);
$self->{'dba'}->get_Queen->synchronize_AnalysisStats($analysis->stats);
}
sub reset_all_jobs_for_analysis_id {
my $self = shift;
......
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