Author: bugman Date: Tue Oct 21 16:49:49 2008 New Revision: 7890 URL: http://svn.gna.org/viewcvs/relax?rev=7890&view=rev Log: Fixed docstrings and user function print outs. Modified: branches/spectral_errors/prompt/spectrum.py Modified: branches/spectral_errors/prompt/spectrum.py URL: http://svn.gna.org/viewcvs/relax/branches/spectral_errors/prompt/spectrum.py?rev=7890&r1=7889&r2=7890&view=diff ============================================================================== --- branches/spectral_errors/prompt/spectrum.py (original) +++ branches/spectral_errors/prompt/spectrum.py Tue Oct 21 16:49:49 2008 @@ -65,7 +65,7 @@ # Function intro text. if self.__relax__.interpreter.intro: - text = sys.ps3 + "noe.error(" + text = sys.ps3 + "spectrum.error(" text = text + "error=" + `error` text = text + ", spectrum_id=" + `spectrum_id` text = text + ", spin_id=" + `spin_id` + ")" @@ -147,19 +147,19 @@ To read the reference and saturated spectra peak heights from the Sparky formatted files 'ref.list' and 'sat.list', type: - relax> noe.read(file='ref.list', spectrum_id='ref') - relax> noe.read(file='sat.list', spectrum_id='sat') + relax> spectrum.read_intensities(file='ref.list', spectrum_id='ref') + relax> spectrum.read_intensities(file='sat.list', spectrum_id='sat') To read the reference and saturated spectra peak heights from the XEasy formatted files 'ref.text' and 'sat.text', type: - relax> noe.read(file='ref.text', spectrum_id='ref') - relax> noe.read(file='sat.text', spectrum_id='sat') + relax> spectrum.read_intensities(file='ref.text', spectrum_id='ref') + relax> spectrum.read_intensities(file='sat.text', spectrum_id='sat') """ # Function intro text. if self.__relax__.interpreter.intro: - text = sys.ps3 + "noe.read(" + text = sys.ps3 + "spectrum.read_intensities(" text = text + "file=" + `file` text = text + ", dir=" + `dir` text = text + ", spectrum_id=" + `spectrum_id`