Author: bugman Date: Fri Jul 25 12:03:53 2008 New Revision: 6973 URL: http://svn.gna.org/viewcvs/relax?rev=6973&view=rev Log: Updated the is_spin_param() method to make a few parameters spin specific. Modified: branches/rdc_analysis/specific_fns/n_state_model.py Modified: branches/rdc_analysis/specific_fns/n_state_model.py URL: http://svn.gna.org/viewcvs/relax/branches/rdc_analysis/specific_fns/n_state_model.py?rev=6973&r1=6972&r2=6973&view=diff ============================================================================== --- branches/rdc_analysis/specific_fns/n_state_model.py (original) +++ branches/rdc_analysis/specific_fns/n_state_model.py Fri Jul 25 12:03:53 2008 @@ -600,16 +600,17 @@ def is_spin_param(self, name): """Determine whether the given parameter is spin specific. - This method always returns false as there are no spin specific parameters in this type of - analysis. - @param name: The name of the parameter. @type name: str @return: False @rtype: bool """ - # Return false. + # Spin specific parameters. + if name in ['bond_length', 'heteronucleus', 'proton']: + return True + + # All other parameters are global. return False