Commit 11bb9500 authored by Shamika Mohanan's avatar Shamika Mohanan

Error message changed

parent 4cdf9988
......@@ -259,7 +259,7 @@ sub init_AceDatabase {
my ($locus_key, $transcript_key, $exon_hash);
my $xml_string = $self->Client->get_region_xml($self->slice);
my $xml_data = XMLin($xml_string);
foreach $locus_key(keys $xml_data->{sequence_set}->{locus}) {
foreach $locus_key(keys %{$xml_data->{sequence_set}->{locus}}) {
if (exists($xml_data->{sequence_set}->{locus}->{$locus_key}->{transcript}->{exon_set})) {
$exon_hash = $xml_data->{sequence_set}->{locus}->{$locus_key}->{transcript}->{exon_set};
if(!%$exon_hash) {
......@@ -267,7 +267,7 @@ sub init_AceDatabase {
}
}
else {
foreach $transcript_key(keys $xml_data->{sequence_set}->{locus}->{$locus_key}{transcript}) {
foreach $transcript_key(keys {$xml_data->{sequence_set}->{locus}->{$locus_key}{transcript}}) {
if (exists($xml_data->{sequence_set}->{locus}->{$locus_key}->{transcript}->{$transcript_key}->{exon_set})) {
$exon_hash = $xml_data->{sequence_set}->{locus}->{$locus_key}->{transcript}->{$transcript_key}->{exon_set};
if(!%$exon_hash) {
......
......@@ -687,7 +687,7 @@ __DATA__
[client]
url=http://otter-server.ebi.ac.uk:8005/cgi-bin/otter
url=http://otter-server.ebi.ac.uk:8004/cgi-bin/otter
write_access=1
gff_version=3
acedb_version=4.9.61
......
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