Author: bugman Date: Thu Aug 11 10:13:18 2011 New Revision: 14335 URL: http://svn.gna.org/viewcvs/relax?rev=14335&view=rev Log: Bug fix for the molmol.write user function for model-free parameters. Some of the parameters were using the ancient self.relax code path which was eliminated with the redesign of relax 1.2 to 1.3. Modified: 1.3/specific_fns/model_free/molmol.py Modified: 1.3/specific_fns/model_free/molmol.py URL: http://svn.gna.org/viewcvs/relax/1.3/specific_fns/model_free/molmol.py?rev=14335&r1=14334&r2=14335&view=diff ============================================================================== --- 1.3/specific_fns/model_free/molmol.py (original) +++ 1.3/specific_fns/model_free/molmol.py Thu Aug 11 10:13:18 2011 @@ -478,7 +478,7 @@ colour_end = 'blue' # Get the RGB colour array (swap the colours because of the inverted hyperbolic colour value). - rgb_array = self.relax.colour.linear_gradient(colour_value, colour_end, colour_start, colour_list) + rgb_array = linear_gradient(colour_value, colour_end, colour_start, colour_list) # Colour the peptide bond. self._molmol_classic_colour(res_num, width, rgb_array) @@ -563,7 +563,7 @@ colour_end = 'red' # Get the RGB colour array (swap the colours because of the inverted hyperbolic colour value). - rgb_array = self.relax.colour.linear_gradient(colour_value, colour_end, colour_start, colour_list) + rgb_array = linear_gradient(colour_value, colour_end, colour_start, colour_list) # Colour the peptide bond. self._molmol_classic_colour(res_num, width, rgb_array)