Permalink
Browse files

only pass in an acc when resolving

svn path=/bioperl-corba-client/trunk/; revision=50
  • Loading branch information...
1 parent 29fefc6 commit 9179b97f8d46bee55f2db562e44e49a1390d7423 @hyphaltip hyphaltip committed Feb 26, 2002
Showing with 2 additions and 2 deletions.
  1. +2 −2 Bio/CorbaClient/SeqDB.pm
@@ -90,11 +90,11 @@ sub get_Seq_by_id {
my $seq;
eval {
- $seq = Bio::CorbaClient::Seq->new(-corbaref => $self->corbaref->resolve($acc,0));
+ $seq = Bio::CorbaClient::Seq->new(-corbaref => $self->corbaref->resolve($acc));
};
if( $@ ) {
- $self->warn("Sequence $acc was not returned from the CORBA server. The original CORBA exception was $@");
+ $self->warn("Sequence $acc was not returned from the CORBA server. The original CORBA exception was:\n $@");
return undef;
}

0 comments on commit 9179b97

Please sign in to comment.