Author: semor Date: Sat Jan 10 21:57:57 2009 New Revision: 8364 URL: http://svn.gna.org/viewcvs/relax?rev=8364&view=rev Log: Changed the format of the CPMG frequency and corrected the names of some input files. Modified: branches/relax_disp/specific_fns/relax_disp.py branches/relax_disp/test_suite/system_tests/scripts/relax_disp_cpmg_fast.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=8364&r1=8363&r2=8364&view=diff ============================================================================== --- branches/relax_disp/specific_fns/relax_disp.py (original) +++ branches/relax_disp/specific_fns/relax_disp.py Sat Jan 10 21:57:57 2009 @@ -201,7 +201,7 @@ """Set the CPMG frequency associated with a given spectrum. @keyword cpmg_frq: The frequency, in Hz, of the CPMG pulse train. - @type cpmg_frq: int + @type cpmg_frq: float @keyword spectrum_id: The spectrum identification string. @type spectrum_id: str """ @@ -214,7 +214,8 @@ raise RelaxError, "The peak heights corresponding to spectrum id '%s' have not been loaded." % spectrum_id # Store the CPMG frequency in the class instance. - self.__cpmg_frq = int(cpmg_frq) + if cpmg_frq != None: + self.__cpmg_frq = float(cpmg_frq) # The index. index = cdp.spectrum_ids.index(spectrum_id) Modified: branches/relax_disp/test_suite/system_tests/scripts/relax_disp_cpmg_fast.py URL: http://svn.gna.org/viewcvs/relax/branches/relax_disp/test_suite/system_tests/scripts/relax_disp_cpmg_fast.py?rev=8364&r1=8363&r2=8364&view=diff ============================================================================== --- branches/relax_disp/test_suite/system_tests/scripts/relax_disp_cpmg_fast.py (original) +++ branches/relax_disp/test_suite/system_tests/scripts/relax_disp_cpmg_fast.py Sat Jan 10 21:57:57 2009 @@ -82,9 +82,9 @@ relax_disp.cpmg_frq(cpmg_frq=cpmg_frq[i], spectrum_id=names[i]) # Specify the duplicated spectra. -spectrum.replicated(spectrum_ids=['133.33.in', '133.33.in.bis']) -spectrum.replicated(spectrum_ids=['533.33.in', '533.33.in.bis']) -spectrum.replicated(spectrum_ids=['933.33.in', '933.33.in.bis']) +spectrum.replicated(spectrum_ids=['133.33.in_sparky', '133.33.in.bis_sparky']) +spectrum.replicated(spectrum_ids=['533.33.in_sparky', '533.33.in.bis_sparky']) +spectrum.replicated(spectrum_ids=['933.33.in_sparky', '933.33.in.bis_sparky']) # Peak intensity error analysis. spectrum.error_analysis()