Author: bugman Date: Thu Aug 11 08:45:10 2011 New Revision: 14329 URL: http://svn.gna.org/viewcvs/relax?rev=14329&view=rev Log: Bug fix for the molmol macro user functions - one of the args 'param' should have been 'data_type'. 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=14329&r1=14328&r2=14329&view=diff ============================================================================== --- 1.3/specific_fns/model_free/molmol.py (original) +++ 1.3/specific_fns/model_free/molmol.py Thu Aug 11 08:45:10 2011 @@ -117,7 +117,7 @@ def _molmol_classic_style(self, data_type=None, colour_start=None, colour_end=None, colour_list=None, spin_id=None): """The MOLMOL classic style. - @keyword data_type: The parameter name. + @keyword data_type: The parameter name or data type. @type data_type: str @keyword colour_start: The starting colour (must be a MOLMOL or X11 name). @type colour_start: str @@ -569,11 +569,11 @@ self._molmol_classic_colour(res_num, width, rgb_array) - def molmol_macro(self, param, style=None, colour_start=None, colour_end=None, colour_list=None, spin_id=None): + def molmol_macro(self, data_type, style=None, colour_start=None, colour_end=None, colour_list=None, spin_id=None): """Create and return an array of Molmol macros of the model-free parameters. - @param param: The parameter name. - @type param: str + @param data_type: The parameter name or data type. + @type data_type: str @keyword style: The Molmol style. @type style: None or str @keyword colour_start: The starting colour (must be a MOLMOL or X11 name).