Author: bugman Date: Wed Apr 16 21:46:12 2008 New Revision: 5797 URL: http://svn.gna.org/viewcvs/relax?rev=5797&view=rev Log: Fixed the usage of the relax_io module. Modified: 1.3/generic_fns/palmer.py Modified: 1.3/generic_fns/palmer.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/palmer.py?rev=5797&r1=5796&r2=5797&view=diff ============================================================================== --- 1.3/generic_fns/palmer.py (original) +++ 1.3/generic_fns/palmer.py Wed Apr 16 21:46:12 2008 @@ -40,6 +40,7 @@ from data import Data as relax_data_store from generic_fns.selection import exists_mol_res_spin_data, spin_loop from relax_errors import RelaxDirError, RelaxFileError, RelaxFileOverwriteError, RelaxNoPdbError, RelaxNoPipeError, RelaxNoSequenceError, RelaxNucleusError, RelaxProgFailError +from relax_io import mkdir, open_write_file, test_binary def create(dir, force, binary, diff_search, sims, sim_type, trim, steps, constraints, heteronuc_type, atom1, atom2, spin_id): @@ -71,7 +72,7 @@ # Directory creation. if dir == None: dir = pipe - self.relax.IO.mkdir(dir, verbosity=0) + mkdir(dir, verbosity=0) # Place the arguments into 'self'. self.pipe = pipe @@ -471,7 +472,7 @@ remove(file) # Test the binary file string corresponds to a valid executable. - self.relax.IO.test_binary(self.binary) + test_binary(self.binary) # Execute Modelfree4 (inputting a PDB file). if pdb: