[MOBY-guts] biomoby commit

Mark Wilkinson mwilkinson at pub.open-bio.org
Thu Jul 28 18:33:11 UTC 2005


mwilkinson
Thu Jul 28 14:33:10 EDT 2005
Update of /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi
In directory pub.open-bio.org:/tmp/cvs-serv5118/MOBY/Adaptor/moby/queryapi

Modified Files:
	mysql.pm 
Log Message:
this code should now be compliant with the 0.85 version of teh API.  All situations where MOBY Central used to return an ontology term, it now returns both the term and its LSID. The behaviour SHOULD be consistent throughout all messages - a term is the content of a node, while its LSID is an attribute of the node.

moby-live/Perl/MOBY/Adaptor/moby/queryapi mysql.pm,1.59,1.60
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi/mysql.pm,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi/mysql.pm	2005/07/28 18:09:21	1.59
+++ /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi/mysql.pm	2005/07/28 18:33:10	1.60
@@ -1288,8 +1288,12 @@
 	my $id = $row->{object_id};
 
 	my $statement = "select 
-	relationship_type, 
-	object_lsid, 
+	relationship_type,
+	object_type,
+	object_lsid,
+	description,
+	authority,
+	contact_email,
 	object2_articlename 
 	from object_term2term, object 
 	where object1_id = ? and object2_id = object_id";




More information about the MOBY-guts mailing list