Author: bugman Date: Mon Aug 29 15:48:17 2011 New Revision: 14513 URL: http://svn.gna.org/viewcvs/relax?rev=14513&view=rev Log: Improvement to the PyMOL model-free macros - bonds rather than atoms in selections are now coloured. Modified: 1.3/specific_fns/model_free/pymol.py Modified: 1.3/specific_fns/model_free/pymol.py URL: http://svn.gna.org/viewcvs/relax/1.3/specific_fns/model_free/pymol.py?rev=14513&r1=14512&r2=14513&view=diff ============================================================================== --- 1.3/specific_fns/model_free/pymol.py (original) +++ 1.3/specific_fns/model_free/pymol.py Mon Aug 29 15:48:17 2011 @@ -44,7 +44,7 @@ self.commands.append("select pept_bond, (name ca,n and resi %i) or (name ca,c and resi %i)" % (res_num, res_num-1)) self.commands.append("as sticks, pept_bond") self.commands.append("set_bond stick_radius, %s, pept_bond" % width) - self.commands.append("color %s, pept_bond" % colour_name) + self.commands.append("set_bond stick_color, %s, pept_bond" % colour_name) # Delete the selection. self.commands.append("delete pept_bond")