[MOBY-guts] biomoby commit

Yan Wong yanwong at pub.open-bio.org
Tue Apr 5 13:44:34 UTC 2005


yanwong
Tue Apr  5 09:44:34 EDT 2005
Update of /home/repository/moby/moby-live/Python/bioMoby
In directory pub.open-bio.org:/tmp/cvs-serv23618

Modified Files:
	mobyMarshal.py 
Log Message:
Corrected a bug in the unmarshaller that prevent it to return an unkwown object (not in the ontology package or in mobyDataTypes)


moby-live/Python/bioMoby mobyMarshal.py,1.6,1.7
===================================================================
RCS file: /home/repository/moby/moby-live/Python/bioMoby/mobyMarshal.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- /home/repository/moby/moby-live/Python/bioMoby/mobyMarshal.py	2005/02/18 15:54:10	1.6
+++ /home/repository/moby/moby-live/Python/bioMoby/mobyMarshal.py	2005/04/05 13:44:34	1.7
@@ -239,7 +239,7 @@
             
         element=doc.firstChild
         
-        self.loadn(element)
+        return self.loadn(element)
 
     def m_Integer(self, value):
         """Turn a Integer XML element into an integer
@@ -301,4 +301,4 @@
         
         del MobyContent
         
-        return mc
\ No newline at end of file
+        return mc




More information about the MOBY-guts mailing list