Commit 364d341e authored by Leo Gordon's avatar Leo Gordon
Browse files

check the availability of this Meadow on the given machine

parent ad03106b
......@@ -7,6 +7,12 @@ use Sys::Hostname;
use base ('Bio::EnsEMBL::Hive::Meadow');
sub available { # always invoked as a class method
return 1; # for the moment assume LOCAL meadow is always available
}
sub get_current_worker_process_id {
my ($self) = @_;
......
......@@ -6,6 +6,13 @@ use strict;
use base ('Bio::EnsEMBL::Hive::Meadow');
sub available { # always invoked as a class method
return `which bjobs 2>/dev/null`;
}
sub get_current_worker_process_id {
my ($self) = @_;
......
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