Author: bugman Date: Wed Mar 26 18:20:40 2014 New Revision: 22541 URL: http://svn.gna.org/viewcvs/relax?rev=22541&view=rev Log: Fix for the NOE analysis for the peak intensity parameters. This relates to bug #21863 (https://gna.org/bugs/?21863), the grace.write user function not being able to write ref/sat plots as described in sample script noe.py. The 'ref' and 'sat' parameters have been replaced by the 'intensities' dictionary data structure a long, long time ago. Therefore they have been eliminated and replaced by the 'intensities' definition. Modified: trunk/specific_analyses/noe/__init__.py Modified: trunk/specific_analyses/noe/__init__.py URL: http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/noe/__init__.py?rev=22541&r1=22540&r2=22541&view=diff ============================================================================== --- trunk/specific_analyses/noe/__init__.py (original) +++ trunk/specific_analyses/noe/__init__.py Wed Mar 26 18:20:40 2014 @@ -48,6 +48,5 @@ self.return_value = self._return_value_general # Set up the spin parameters. - self.PARAMS.add('ref', scope='spin', desc='The reference peak intensity', py_type=float, grace_string='Reference intensity') - self.PARAMS.add('sat', scope='spin', desc='The saturated peak intensity', py_type=float, grace_string='Saturated intensity') + self.PARAMS.add('intensities', scope='spin', desc='The peak intensity', py_type=dict, grace_string='Peak intensity') self.PARAMS.add('noe', scope='spin', desc='The NOE', py_type=float, grace_string='\\qNOE\\Q', err=True, sim=True)