mailr6387 - /1.3/generic_fns/results.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 - 13:38:
Author: bugman
Date: Sun Jun 22 13:33:37 2008
New Revision: 6387

URL: http://svn.gna.org/viewcvs/relax?rev=6387&view=rev
Log:
Changed the references from xml to xml_data_pipe.


Modified:
    1.3/generic_fns/results.py

Modified: 1.3/generic_fns/results.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/results.py?rev=6387&r1=6386&r2=6387&view=diff
==============================================================================
--- 1.3/generic_fns/results.py (original)
+++ 1.3/generic_fns/results.py Sun Jun 22 13:33:37 2008
@@ -25,7 +25,7 @@
 
 # relax module imports.
 from data import Relax_data_store; ds = Relax_data_store()
-from generic_fns import xml
+from generic_fns import xml_data_pipe
 from relax_errors import RelaxError, RelaxFileEmptyError, RelaxNoPipeError
 from relax_io import extract_data, open_write_file, strip
 from specific_fns.setup import get_specific_fn, get_string
@@ -64,7 +64,7 @@
 
     # Specific results writing function.
     if format == 'xml':
-        self.write_function = xml.write
+        self.write_function = xml_data_pipe.write
     elif format == 'columnar':
         self.write_function = 
self.relax.specific_setup.setup('write_columnar_results', function_type, 
raise_error=0)
     else:
@@ -87,7 +87,7 @@
 
     # Specific results writing function.
     if format == 'xml':
-        read_function = xml.read
+        read_function = xml_data_pipe.read
     elif format == 'columnar':
         read_function = get_specific_fn('read_columnar_results', 
ds[ds.current_pipe].pipe_type, raise_error=False)
     else:
@@ -128,7 +128,7 @@
 
     # Specific results writing function.
     if format == 'xml':
-        write_function = xml.write
+        write_function = xml_data_pipe.write
     elif format == 'columnar':
         write_function = get_specific_fn('write_columnar_results', 
ds[ds.current_pipe].pipe_type, raise_error=False)
     else:




Related Messages


Powered by MHonArc, Updated Sun Jun 22 13:40:10 2008