From 44c0c6d81326af974f68296a5560eaeefeb76369 Mon Sep 17 00:00:00 2001 From: Emmanuel Mongin <mongin@sanger.ac.uk> Date: Fri, 13 Jun 2003 11:43:38 +0000 Subject: [PATCH] *** empty log message *** --- misc-scripts/gene_description/gene-descriptions.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/misc-scripts/gene_description/gene-descriptions.pl b/misc-scripts/gene_description/gene-descriptions.pl index 1aeed0a072..dfb916bfed 100755 --- a/misc-scripts/gene_description/gene-descriptions.pl +++ b/misc-scripts/gene_description/gene-descriptions.pl @@ -253,7 +253,7 @@ while (my ($ensp, $ensg, $db, $acc, $qy_percid, $tg_percid) = $sth->fetchrow_arr ## Load regexps -open REGEXP, $regexp_file; +open (REGEXP, $regexp_file) || die "Can't open REGEX file: $regexp_file\n"; my @regexps; while (my $line = <REGEXP>) { @@ -376,7 +376,9 @@ sub parse_protein_database { } else { chomp $line; - warn "\nCould not recognize line : \"$line\"\nCheck the input file format in $protein_database_file.\n\n"; +#took away the warning as many lines in SP have ID AC and nothing else + +# warn "\nCould not recognize line : \"$line\"\nCheck the input file format in $protein_database_file.\n\n"; # return 0; } } -- GitLab