[MOBY-dev] MOBY::Client::Central::Dump()
Edward Kawas
edward.kawas at gmail.com
Mon May 12 15:11:09 UTC 2008
Thanks Pieter,
I made changes (based on what you found out) to MOBY::Client::Central that
should now take care of the DUMP problem. The changes are in the CVS and
will soon be in cpan.
Thanks again!
Eddie
-----Original Message-----
From: moby-dev-bounces at lists.open-bio.org
[mailto:moby-dev-bounces at lists.open-bio.org] On Behalf Of Pieter Neerincx
Sent: May-12-08 5:21 AM
To: Core developer announcements
Subject: [MOBY-dev] MOBY::Client::Central::Dump()
Hi Eddie & Mark,
Eh well it works, but not the way it is supposed to. When I call
MOBY::Client::Central::Dump() on the public Central in Calgary I get
the following error:
Not an ARRAY reference at /geninf/prog/lib/perl/MOBY/Client/
Central.pm line 1927
Indeed what I get back is a hash reference. This hash contains only a
single item with the key 'item'. If I change:
1927 my (
$mobycentral, $mobyobject, $mobyservice,
$mobynamespace, $mobyrelationship
)
= @{$SQLs};
Into:
1927 my (
$mobycentral, $mobyobject, $mobyservice,
$mobynamespace, $mobyrelationship
)
= @{${$SQLs}{item}};
...it does work. I checked the MOBY::Central.pm module from CVS and it
is supposed to return an array ref as before. I upgraded BioMoby + all
dependancies and compared the behaviour of the official Central with
my local test Central and the latter still produces an array ref as
expected... Looks to me like the official Central got a custom patch
of some sort. Could one of you please have a look at this?
Thanks,
Pi
On 11.Apr.2008, at 3:27 PM, Edward Kawas wrote:
> Hi Pieter,
>
> Dump on mobycentral should work now (once mobycentral is back up and
> running). This was fixed a while back.
>
> Eddie
_______________________________________________
MOBY-dev mailing list
MOBY-dev at lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/moby-dev
More information about the MOBY-dev
mailing list