From c4132fd92672347d13f6ec88a2bfc06caef1eace Mon Sep 17 00:00:00 2001 From: Andrew Yates <ayates@ebi.ac.uk> Date: Wed, 23 May 2012 14:59:59 +0000 Subject: [PATCH] Default the pattern to all core databases --- misc-scripts/translation_attribs.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc-scripts/translation_attribs.pl b/misc-scripts/translation_attribs.pl index aee078fdc6..2dc1058eec 100644 --- a/misc-scripts/translation_attribs.pl +++ b/misc-scripts/translation_attribs.pl @@ -43,7 +43,7 @@ and store them as a translation_attrib values =head1 EXAMPLES -Calculate translation_attributes for all databases in ens-staging +Calculate translation_attributes for all core databases in ens-staging $ ./translation_attribs.pl --user ensadmin --pass password @@ -97,6 +97,7 @@ $opts->{tmpdir} ||= '/tmp'; $opts->{port} ||= '3306'; $opts->{host} ||= 'ens-staging'; $opts->{user} ||= 'ensro'; +$opts->{pattern} ||= qr/.+_core_.+/; my %PEPSTATS_CODES = ( 'Number of residues' => 'NumResidues', 'Molecular weight' => 'MolecularWeight', -- GitLab