Commit 8623c5d2 authored by Leo Gordon's avatar Leo Gordon
Browse files

copied from branch

parent 80a19c29
......@@ -137,9 +137,11 @@ sub stderr_file {
sub print_job {
my $self = shift;
my $logic_name ='';
$logic_name = $self->adaptor->db->get_AnalysisAdaptor->fetch_by_dbID($self->analysis_id)->logic_name if($self->adaptor);
printf("job_id=%d %s(%d) retry=%d input_id='%s'\n",
my $logic_name = $self->adaptor()
? $self->adaptor->db->get_AnalysisAdaptor->fetch_by_dbID($self->analysis_id)->logic_name()
: '';
printf("job_id=%d %35s(%5d) retry=%d input_id='%s'\n",
$self->dbID,
$logic_name,
$self->analysis_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