Author: bugman Date: Wed May 21 21:36:45 2008 New Revision: 6190 URL: http://svn.gna.org/viewcvs/relax?rev=6190&view=rev Log: Updates to the data_init() method. Modified: 1.3/specific_fns/relax_fit.py Modified: 1.3/specific_fns/relax_fit.py URL: http://svn.gna.org/viewcvs/relax/1.3/specific_fns/relax_fit.py?rev=6190&r1=6189&r2=6190&view=diff ============================================================================== --- 1.3/specific_fns/relax_fit.py (original) +++ 1.3/specific_fns/relax_fit.py Wed May 21 21:36:45 2008 @@ -220,13 +220,14 @@ def data_init(self, spin): - """Function for initialising the data structures.""" - - # Get the data names. - data_names = self.data_names() + """Initialise the spin specific data structures. + + @param spin: The spin container. + @type spin: SpinContainer instance + """ # Loop over the data structure names. - for name in data_names: + for name in self.data_names(): # Data structures which are initially empty arrays. list_data = [ 'params' ] if name in list_data: