Author: bugman Date: Sat Nov 4 06:26:09 2006 New Revision: 2735 URL: http://svn.gna.org/viewcvs/relax?rev=2735&view=rev Log: Fixed the call to by the PyMOL cartoon function to the function 'file_root()' of 'io.py'. This fixes a bug whereby the function 'io.file_root()' was being called yet it didn't exist. The change which introduced the problem was announced at https://mail.gna.org/public/relax-devel/2006-10/msg00228.html (Message-id: <1162314647.3525.182.camel@mrspell>). The fix was to call 'self.relax.IO.file_root()'. Modified: branches/tensor_pdb/generic_fns/pymol.py Modified: branches/tensor_pdb/generic_fns/pymol.py URL: http://svn.gna.org/viewcvs/relax/branches/tensor_pdb/generic_fns/pymol.py?rev=2735&r1=2734&r2=2735&view=diff ============================================================================== --- branches/tensor_pdb/generic_fns/pymol.py (original) +++ branches/tensor_pdb/generic_fns/pymol.py Sat Nov 4 06:26:09 2006 @@ -46,7 +46,7 @@ # Identifier. pdb_file = self.relax.data.pdb[self.run].file_name - id = io.file_root(pdb_file) + id = self.relax.IO.file_root(pdb_file) # Hide everything. self.pipe_write("cmd.hide('everything'," + `id` + ")")