Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
d15ca8f8
Commit
d15ca8f8
authored
Feb 10, 2014
by
Leo Gordon
Browse files
bugfix: stop printing diagnostic information on STDOUT
parent
51b4c7ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
modules/Bio/EnsEMBL/Hive/AnalysisStats.pm
modules/Bio/EnsEMBL/Hive/AnalysisStats.pm
+4
-4
modules/Bio/EnsEMBL/Hive/Queen.pm
modules/Bio/EnsEMBL/Hive/Queen.pm
+1
-1
No files found.
modules/Bio/EnsEMBL/Hive/AnalysisStats.pm
View file @
d15ca8f8
...
...
@@ -403,10 +403,10 @@ sub determine_status {
my
$absolute_tolerance
=
$analysis
->
failed_job_tolerance
*
$self
->
total_job_count
/
100.0
;
if
(
$self
->
failed_job_count
>
$absolute_tolerance
)
{
$self
->
status
('
FAILED
');
print
"
\n
##################################################
\n
";
printf
("
## ERROR: %-35s ##
\n
",
$analysis
->
logic_name
.
"
failed!
");
printf
("
## %d jobs failed (tolerance: %d (%3d%%)) ##
\n
",
$self
->
failed_job_count
,
$absolute_tolerance
,
$analysis
->
failed_job_tolerance
);
print
"
##################################################
\n\n
";
warn
"
\n
##################################################
\n
";
warn
s
printf
("
## ERROR: %-35s ##
\n
",
$analysis
->
logic_name
.
"
failed!
");
warn
s
printf
("
## %d jobs failed (tolerance: %d (%3d%%)) ##
\n
",
$self
->
failed_job_count
,
$absolute_tolerance
,
$analysis
->
failed_job_tolerance
);
warn
"
##################################################
\n\n
";
}
else
{
$self
->
status
('
DONE
');
}
...
...
modules/Bio/EnsEMBL/Hive/Queen.pm
View file @
d15ca8f8
...
...
@@ -738,7 +738,7 @@ sub get_remaining_jobs_show_hive_progress {
?
((
100.0
*
(
$done
+
$failed
))
/
$total
)
:
0.0
;
my
$remaining
=
$total
-
$done
-
$failed
;
printf
("
hive %1.3f%% complete (< %1.3f CPU_hrs) (%d todo + %d done + %d failed = %d total)
\n
",
warn
s
printf
("
hive %1.3f%% complete (< %1.3f CPU_hrs) (%d todo + %d done + %d failed = %d total)
\n
",
$completed
,
$cpuhrs
,
$remaining
,
$done
,
$failed
,
$total
);
return
$remaining
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment