[MOBY-guts] biomoby commit
Mark Wilkinson
mwilkinson at pub.open-bio.org
Mon Aug 29 22:36:33 UTC 2005
mwilkinson
Mon Aug 29 18:36:33 EDT 2005
Update of /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi
In directory pub.open-bio.org:/tmp/cvs-serv15921/MOBY/Adaptor/moby/queryapi
Modified Files:
mysql.pm
Log Message:
adaptor wasn't querying relationships properly
moby-live/Perl/MOBY/Adaptor/moby/queryapi mysql.pm,1.71,1.72
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi/mysql.pm,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi/mysql.pm 2005/08/23 17:37:46 1.71
+++ /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi/mysql.pm 2005/08/29 22:36:32 1.72
@@ -939,8 +939,8 @@
sub query_relationship{
my ($self, %args) = @_;
- my $type = $args{type};
- return [{}] unless $type;
+ my $type = $args{type} || "";
+# return [{}] unless $type;
my $condition = "";
if ($type =~ /^urn\:lsid/){
$condition = " relationship_lsid = ? and ";
More information about the MOBY-guts
mailing list