Author: bugman Date: Mon Dec 8 09:27:28 2014 New Revision: 27009 URL: http://svn.gna.org/viewcvs/relax?rev=27009&view=rev Log: Important fix for the spectrum.error_analysis_per_field user function. This is for the compilation of the user manual. The possessive apostrophe should not be used in the text "spectrum ID's". This grammar error triggers an unfortunate bug in the docstring fetching script docs/latex/fetch_docstrings.py whereby the script thinks that ' is the start of a quote. Modified: trunk/user_functions/spectrum.py Modified: trunk/user_functions/spectrum.py URL: http://svn.gna.org/viewcvs/relax/trunk/user_functions/spectrum.py?rev=27009&r1=27008&r2=27009&view=diff ============================================================================== --- trunk/user_functions/spectrum.py (original) +++ trunk/user_functions/spectrum.py Mon Dec 8 09:27:28 2014 @@ -176,16 +176,16 @@ # The spectrum.error_analysis_per_field user function. uf = uf_info.add_uf('spectrum.error_analysis_per_field') -uf.title = "Use spectrum ID's per each field strength for an error analysis for peak intensities." +uf.title = "Use spectrum IDs per each field strength for an error analysis for peak intensities." uf.title_short = "Per field strength peak intensity error analysis." # Description. uf.desc.append(Desc_container()) uf.desc[-1].add_paragraph("Please see the spectrum.error_analysis user function documentation.") -uf.desc[-1].add_paragraph("This user function will collect all spectrum ID's for each field strength separately, and call the spectrum.error_analysis with these.") +uf.desc[-1].add_paragraph("This user function will collect all spectrum IDs for each field strength separately, and call the spectrum.error_analysis with these.") uf.desc[-1].add_paragraph("This function is meant as a short-cut for the spectrum.error_analysis function.") # Prompt examples. uf.desc.append(Desc_container("Prompt examples")) -uf.desc[-1].add_paragraph("To collect all spectrum ID's per field strength, and perform peak intensity error analysis:") +uf.desc[-1].add_paragraph("To collect all spectrum IDs per field strength, and perform peak intensity error analysis:") uf.desc[-1].add_prompt("relax> spectrum.error_analysis_per_field()") uf.backend = spectrum.error_analysis_per_field uf.menu_text = "&error_analysis_per_field" @@ -556,4 +556,4 @@ uf.gui_icon = "relax.fid" uf.wizard_size = (600, 400) uf.wizard_image = WIZARD_IMAGE_PATH + 'spectrum' + sep + 'spectrum_200.png' -uf.wizard_apply_button = False +uf.wizard_apply_button = False