Author: semor Date: Thu Jul 31 15:46:13 2008 New Revision: 7048 URL: http://svn.gna.org/viewcvs/relax?rev=7048&view=rev Log: Converted 'self.relax.IO' instances to 'relax_io' and added corresponding imports. Modified: 1.3/generic_fns/dasha.py Modified: 1.3/generic_fns/dasha.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/dasha.py?rev=7048&r1=7047&r2=7048&view=diff ============================================================================== --- 1.3/generic_fns/dasha.py (original) +++ 1.3/generic_fns/dasha.py Thu Jul 31 15:46:13 2008 @@ -33,7 +33,7 @@ # relax module imports. from data import Relax_data_store; ds = Relax_data_store() from relax_errors import RelaxDirError, RelaxError, RelaxFileError, RelaxNoPdbError, RelaxNoPipeError, RelaxNoSequenceError, RelaxNoTensorError, RelaxNucleusError -from relax_io import mkdir_nofail +from relax_io import mkdir_nofail, open_write_file, test_binary @@ -107,7 +107,7 @@ self.relax.generic.angles.ellipsoid_frame(self.run) # The 'dasha_script' file. - script = self.relax.IO.open_write_file(file_name='dasha_script', dir=self.dir, force=self.force) + script = open_write_file(file_name='dasha_script', dir=self.dir, force=self.force) self.create_script(script) script.close() @@ -347,7 +347,7 @@ self.binary = binary # Test the binary file string corresponds to a valid executable. - self.relax.IO.test_binary(self.binary) + test_binary(self.binary) # The current directory. orig_dir = getcwd()