Author: bugman Date: Tue Apr 11 09:22:24 2006 New Revision: 2463 URL: http://svn.gna.org/viewcvs/relax?rev=2463&view=rev Log: Fix to bug #5752. The bug report is located at https://gna.org/bugs/index.php?func=detailitem&item_id=5752. The problem was simply two calls to 'file.pipe_write()' which should have been 'file.write()' as 'file' is a real file object. Modified: 1.2/generic_fns/molmol.py Modified: 1.2/generic_fns/molmol.py URL: http://svn.gna.org/viewcvs/relax/1.2/generic_fns/molmol.py?rev=2463&r1=2462&r2=2463&view=diff ============================================================================== --- 1.2/generic_fns/molmol.py (original) +++ 1.2/generic_fns/molmol.py Tue Apr 11 09:22:24 2006 @@ -99,7 +99,7 @@ # Test if the pipe has been broken. try: - self.relax.data.molmol.pipe_write('\n') + self.relax.data.molmol.write('\n') except IOError: return 0 @@ -118,7 +118,7 @@ self.pipe_open() # Write the command to the pipe. - self.relax.data.molmol.pipe_write(command + '\n') + self.relax.data.molmol.write(command + '\n') # Place the command in the command history. if store_command: