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
045a9d7a
Commit
045a9d7a
authored
Nov 25, 2004
by
Jessica Severin
Browse files
split print_hive_status so that there are 2 methods print_analysis_status
and print_running_worker_status.
parent
fec86879
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
modules/Bio/EnsEMBL/Hive/Queen.pm
modules/Bio/EnsEMBL/Hive/Queen.pm
+15
-2
No files found.
modules/Bio/EnsEMBL/Hive/Queen.pm
View file @
045a9d7a
...
...
@@ -450,6 +450,14 @@ sub get_num_needed_workers {
sub
print_hive_status
{
my
$self
=
shift
;
$self
->
print_analysis_status
;
$self
->
print_running_worker_status
;
}
sub
print_analysis_status
{
my
$self
=
shift
;
...
...
@@ -458,6 +466,12 @@ sub print_hive_status
foreach
my
$analysis_stats
(
@
{
$allStats
})
{
$analysis_stats
->
print_stats
;
}
}
sub
print_running_worker_status
{
my
$self
=
shift
;
print
("
HIVE LIVE WORKERS====
\n
");
my
$sql
=
"
select logic_name, count(*) from hive, analysis
"
.
...
...
@@ -469,11 +483,10 @@ sub print_hive_status
printf
("
%20s : %d workers
\n
",
$logic_name
,
$count
);
}
print
("
=====================
\n
");
$sth
->
finish
;
$sth
->
finish
;
}
#
# INTERNAL METHODS
#
...
...
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