Author: macraild Date: Tue Oct 31 18:05:24 2006 New Revision: 2721 URL: http://svn.gna.org/viewcvs/relax?rev=2721&view=rev Log: Fixed the pymol.cartoons() bug Reported at: https://mail.gna.org/public/relax-devel/2006-10/msg00204.html 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=2721&r1=2720&r2=2721&view=diff ============================================================================== --- branches/tensor_pdb/generic_fns/pymol.py (original) +++ branches/tensor_pdb/generic_fns/pymol.py Tue Oct 31 18:05:24 2006 @@ -45,7 +45,8 @@ raise RelaxNoRunError, self.run # Identifier. - id = self.relax.data.pdb[self.run].file_name[:-4] + pdb_file = self.relax.data.pdb[self.run].file_name[:-4] + id = io.file_root(pdb_file) # Hide everything. self.pipe_write("cmd.hide('everything'," + `id` + ")")