mailr6400 - /1.3/generic_fns/xml_data_pipe.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on June 22, 2008 - 16:00:
Author: bugman
Date: Sun Jun 22 16:00:35 2008
New Revision: 6400

URL: http://svn.gna.org/viewcvs/relax?rev=6400&view=rev
Log:
The hybrid element is no longer returned.


Modified:
    1.3/generic_fns/xml_data_pipe.py

Modified: 1.3/generic_fns/xml_data_pipe.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/xml_data_pipe.py?rev=6400&r1=6399&r2=6400&view=diff
==============================================================================
--- 1.3/generic_fns/xml_data_pipe.py (original)
+++ 1.3/generic_fns/xml_data_pipe.py Sun Jun 22 16:00:35 2008
@@ -77,9 +77,6 @@
     # Add the pipes list.
     text_val = doc.createTextNode(str(ds[ds.current_pipe].hybrid_pipes))
     list_elem.appendChild(text_val)
-
-    # Return the element.
-    return hybrid_elem
 
 
 def create_pipe_elem(doc, elem):
@@ -193,7 +190,7 @@
     fill_object_contents(xmldoc, global_elem, object=ds[ds.current_pipe], 
blacklist=['diff_tensor', 'hybrid_pipes', 'is_empty', 'mol', 'pipe_type', 
'structure'])
 
     # Hybrid info.
-    hybrid_elem = create_hybrid_elem(xmldoc, pipe_elem)
+    create_hybrid_elem(xmldoc, pipe_elem)
 
     # Add the diffusion tensor data.
     create_diff_elem(xmldoc, pipe_elem)
@@ -202,6 +199,6 @@
     xml.dom.ext.PrettyPrint(xmldoc, file)
 
     # Print out.
-    print ds[ds.current_pipe].structure
+    print dir(ds[ds.current_pipe].structure)
     print "\n\nXML:"
     xml.dom.ext.PrettyPrint(xmldoc)




Related Messages


Powered by MHonArc, Updated Sun Jun 22 16:20:11 2008