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
fe71fc76
Commit
fe71fc76
authored
Feb 16, 2005
by
Jessica Severin
Browse files
fixed total hive completion percent so that it doesn't round up
parent
a922aa57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/Bio/EnsEMBL/Hive/Queen.pm
modules/Bio/EnsEMBL/Hive/Queen.pm
+2
-2
No files found.
modules/Bio/EnsEMBL/Hive/Queen.pm
View file @
fe71fc76
...
...
@@ -458,8 +458,8 @@ sub get_hive_progress
my
(
$done
,
$total
)
=
$sth
->
fetchrow_array
();
$sth
->
finish
;
my
$completed
=
0.0
;
$completed
=
(
$done
/
$total
*
100
)
if
(
$total
>
0
);
printf
("
hive %1.
2
f%% complete (%d done / %d total)
\n
",
$completed
,
$done
,
$total
);
$completed
=
(
(
100.0
*
$done
)
/
$total
)
if
(
$total
>
0
);
printf
("
hive %1.
3
f%% complete (%d done / %d total)
\n
",
$completed
,
$done
,
$total
);
return
$done
,
$total
;
}
...
...
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