From 923eea0192bf8f96406133e5a718cafa14cc06cc Mon Sep 17 00:00:00 2001 From: Magali Ruffier <mr6@ebi.ac.uk> Date: Tue, 21 Aug 2012 09:01:26 +0000 Subject: [PATCH] added trinomial database name support --- .../production_database/scripts/update_database_list.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc-scripts/production_database/scripts/update_database_list.pl b/misc-scripts/production_database/scripts/update_database_list.pl index f21b69b840..e28e74462e 100755 --- a/misc-scripts/production_database/scripts/update_database_list.pl +++ b/misc-scripts/production_database/scripts/update_database_list.pl @@ -199,9 +199,9 @@ foreach my $server (@servers) { next; } - my ( $db_type, $db_assembly, $db_suffix ) = + my ( $species_name, $db_type, $db_assembly, $db_suffix ) = ( $database =~ -/^[a-z]+_[a-z]+_([0-9a-z]+)_(?:[0-9]+_)?[0-9]+_([0-9a-z]+?)([a-z]?)$/ ); +/^([a-z]+_){2,3}([0-9a-z]+)_(?:[0-9]+_)?[0-9]+_([0-9a-z]+?)([a-z]?)$/ ); if ( !defined($db_type) || !defined($db_assembly) -- GitLab