Commit 97659a83 authored by Leo Gordon's avatar Leo Gordon
Browse files

only take the first name, ignore the domain name altogether

parent 48e960ae
......@@ -10,7 +10,7 @@ use base ('Bio::EnsEMBL::Hive::Meadow');
sub name { # also called to check for availability; for the moment assume LOCAL meadow is always available
return hostname();
return (split(/\./, hostname))[0]; # only take the first name
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