[MOBY-guts] biomoby commit
Eddie Kawas
kawas at dev.open-bio.org
Mon Jan 22 20:56:35 UTC 2007
kawas
Mon Jan 22 15:56:34 EST 2007
Update of /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi
In directory dev.open-bio.org:/tmp/cvs-serv23025/Adaptor/moby/queryapi
Modified Files:
mysql.pm
Log Message:
bug fix for bug pointed out (and coded) by paul
moby-live/Perl/MOBY/Adaptor/moby/queryapi mysql.pm,1.79,1.80
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi/mysql.pm,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi/mysql.pm 2006/05/31 21:12:19 1.79
+++ /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi/mysql.pm 2007/01/22 20:56:34 1.80
@@ -1209,7 +1209,7 @@
my $ancestor_string = $args{'ancestor_string'};
my $namespaceURIs = $args{'namespaceURIs'};
- my $query ="select service_instance_id, namespace_type_uris from simple_$inout where object_type_uri in ($ancestor_string) and service_instance_id IS NOT NULL "
+ my $query ="select service_instance_id, namespace_type_uris from simple_$inout where object_type_uri in ($ancestor_string) and collection_input_id IS NULL "
; # if service_instance_id is null then it must be a collection input.
my $nsquery;
foreach my $ns ( @{$namespaceURIs} ) { # namespaces are already URI's
More information about the MOBY-guts
mailing list