Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
b674bfe1
Commit
b674bfe1
authored
Feb 10, 2014
by
Leo Gordon
Browse files
added two hotfixes from stable
parents
2ff18a11
d15ca8f8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
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
scripts/generate_timeline.pl
scripts/generate_timeline.pl
+1
-1
No files found.
modules/Bio/EnsEMBL/Hive/AnalysisStats.pm
View file @
b674bfe1
...
...
@@ -362,10 +362,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 @
b674bfe1
...
...
@@ -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
;
}
...
...
scripts/generate_timeline.pl
View file @
b674bfe1
...
...
@@ -319,7 +319,7 @@ sub main {
align
=>
'
left
',
},
xtics
=>
{
labelfmt
=>
'
%b %d\n %H:
00
',
labelfmt
=>
'
%b %d\n %H:
%M
',
along
=>
'
out nomirror
',
},
bg
=>
{
...
...
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