mailr4918 - /1.3/generic_fns/molmol.py


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

Header


Content

Posted by edward on February 07, 2008 - 11:11:
Author: bugman
Date: Thu Feb  7 11:11:17 2008
New Revision: 4918

URL: http://svn.gna.org/viewcvs/relax?rev=4918&view=rev
Log:
Updated the generic_fns.molmol module to import the relevent functions from 
the relax_io module.


Modified:
    1.3/generic_fns/molmol.py

Modified: 1.3/generic_fns/molmol.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/molmol.py?rev=4918&r1=4917&r2=4918&view=diff
==============================================================================
--- 1.3/generic_fns/molmol.py (original)
+++ 1.3/generic_fns/molmol.py Thu Feb  7 11:11:17 2008
@@ -28,6 +28,7 @@
 from data import Data as relax_data_store
 from generic_fns.selection import exists_mol_res_spin_data
 from relax_errors import RelaxError, RelaxNoPipeError, RelaxNoSequenceError
+from relax_io import open_write_file, test_binary
 from specific_fns import get_specific_fn
 
 
@@ -128,7 +129,7 @@
     """Function for opening a Molmol pipe."""
 
     # Test that the Molmol binary exists.
-    relax.IO.test_binary('molmol')
+    test_binary('molmol')
 
     # Open the Molmol pipe.
     relax_data_store.molmol = popen("molmol -f -", 'w', 0)
@@ -281,7 +282,7 @@
         file = data_type + '.mac'
 
     # Open the file for writing.
-    file = relax.IO.open_write_file(file, dir, force)
+    file = open_write_file(file, dir, force)
 
     # Loop over the commands and write them.
     for command in commands:




Related Messages


Powered by MHonArc, Updated Thu Feb 07 11:20:06 2008