[MOBY-guts] biomoby commit

Mark Wilkinson mwilkinson at pub.open-bio.org
Fri Jul 22 20:47:11 UTC 2005


mwilkinson
Fri Jul 22 16:47:11 EDT 2005
Update of /home/repository/moby/moby-live/Perl/MOBY
In directory pub.open-bio.org:/tmp/cvs-serv1748/MOBY

Modified Files:
	Central.pm 
Log Message:
wrong column name for query

moby-live/Perl/MOBY Central.pm,1.173,1.174
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/Central.pm,v
retrieving revision 1.173
retrieving revision 1.174
diff -u -r1.173 -r1.174
--- /home/repository/moby/moby-live/Perl/MOBY/Central.pm	2005/07/22 20:29:11	1.173
+++ /home/repository/moby/moby-live/Perl/MOBY/Central.pm	2005/07/22 20:47:10	1.174
@@ -759,7 +759,7 @@
 	return &_error( "Service Type $term does not exist in the ontology", "" )
 	  unless ($existingURI);
 	
-	my $result = $adaptor->query_service({service_type_uri => $existingURI});
+	my $result = $adaptor->query_service({service_lsid => $existingURI});
 	my $row = shift(@$result);
 	my $id = $row->{service_instance_id};
 	




More information about the MOBY-guts mailing list