[MOBY-guts] biomoby commit

Yan Wong yanwong at pub.open-bio.org
Thu Jun 9 08:19:47 UTC 2005


yanwong
Thu Jun  9 04:19:46 EDT 2005
Update of /home/repository/moby/moby-live/Python/bioMoby/webservice
In directory pub.open-bio.org:/tmp/cvs-serv26869/bioMoby/webservice

Modified Files:
	TCBioMoby.py 
Log Message:
Version 0.9p2:
Changed the namespace URI from http://biomoby.org/moby to http://biomoby.org/moby-s
Corrected: Unicode strings can now be unmarshalled
Corrected: <Object namespace="" id="" /> the prefix of this object was Object instead of moby

moby-live/Python/bioMoby/webservice TCBioMoby.py,1.3,1.4
===================================================================
RCS file: /home/repository/moby/moby-live/Python/bioMoby/webservice/TCBioMoby.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Python/bioMoby/webservice/TCBioMoby.py	2005/02/01 08:52:17	1.3
+++ /home/repository/moby/moby-live/Python/bioMoby/webservice/TCBioMoby.py	2005/06/09 08:19:46	1.4
@@ -9,6 +9,7 @@
    Date: 12/06/2004
    
    01/17/2005: solve the problem with GBrowse :) return a raw string instead of the text embbeded in a Body tag.
+   06/08/2005: Return a string containing the MobyContent instead of the Python object
 """
 
 from ZSI import _copyright, _children, \
@@ -23,12 +24,7 @@
     def parse(self, elt, ps):
         #self.checkname(elt, ps)
         if _children(elt):
-            from bioMoby import MobyContent
-            mc=MobyContent()
-
-            mc.fromMoby(elt.firstChild.nodeValue)
-
-            return mc
+            return elt.firstChild.nodeValue
 
 
 class body(TypeCode):




More information about the MOBY-guts mailing list