Author: semor Date: Thu Jan 8 00:23:28 2009 New Revision: 8329 URL: http://svn.gna.org/viewcvs/relax?rev=8329&view=rev Log: Renamed 'cdp.frq' to 'cdp.cpmg_frqs' so it is not confusing with the spectrometer frequency. Indeed, 'cdp.cpmg_frqs' points to the CPMG pulse train frequency (nu_cpmg). Modified: branches/relax_disp/specific_fns/relax_disp.py Modified: branches/relax_disp/specific_fns/relax_disp.py URL: http://svn.gna.org/viewcvs/relax/branches/relax_disp/specific_fns/relax_disp.py?rev=8329&r1=8328&r2=8329&view=diff ============================================================================== --- branches/relax_disp/specific_fns/relax_disp.py (original) +++ branches/relax_disp/specific_fns/relax_disp.py Thu Jan 8 00:23:28 2009 @@ -191,18 +191,18 @@ index = cdp.spectrum_ids.index(spectrum_id) # Initialise the global CPMG frequency data structure if needed. - if not hasattr(cdp, 'frq'): - cdp.frq = [None] * len(cdp.spectrum_ids) + if not hasattr(cdp, 'cpmg_frqs'): + cdp.cpmg_frqs = [None] * len(cdp.spectrum_ids) # Index not present in the global CPMG frequency data structure. while 1: - if index > len(cdp.frq) - 1: - cdp.frq.append(None) + if index > len(cdp.cpmg_frqs) - 1: + cdp.cpmg_frqs.append(None) else: break # Add the frequency at the correct position. - cdp.frq[index] = frq + cdp.cpmg_frqs[index] = frq def create_mc_data(self, spin_id):