mailr16598 - in /branches/uf_redesign/user_functions: spectrum.py value.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on June 02, 2012 - 19:23:
Author: bugman
Date: Sat Jun  2 19:23:02 2012
New Revision: 16598

URL: http://svn.gna.org/viewcvs/relax?rev=16598&view=rev
Log:
Fixes to the calls to Desc_container.add_table() in some user functions.


Modified:
    branches/uf_redesign/user_functions/spectrum.py
    branches/uf_redesign/user_functions/value.py

Modified: branches/uf_redesign/user_functions/spectrum.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/user_functions/spectrum.py?rev=16598&r1=16597&r2=16598&view=diff
==============================================================================
--- branches/uf_redesign/user_functions/spectrum.py (original)
+++ branches/uf_redesign/user_functions/spectrum.py Sat Jun  2 19:23:02 2012
@@ -122,7 +122,7 @@
 table.add_row(["Volumes", "RMSD baseplane", "One sigma per peak per 
spectrum"])
 table.add_row(["Volumes", "Partial duplicate + variance averaging", "One 
sigma for all peaks, all spectra"])
 table.add_row(["Volumes", "All replicated + variance averaging", "One sigma 
per replicated spectra set"])
-uf.desc[-1].add_table(table)
+uf.desc[-1].add_table(table.label)
 # Peak heights with baseplane noise RMSD.
 uf.desc.append(Desc_container("Peak heights with baseplane noise RMSD"))
 uf.desc[-1].add_paragraph("When none of the spectra have been replicated, 
then the peak height errors are calculated using the RMSD of the baseplane 
noise, the value of which is set by the spectrum.baseplane_rmsd() user 
function.  This results in a different error per peak per spectrum.  The 
standard deviation error measure for the peak height, sigma_I, is set to the 
RMSD value.")

Modified: branches/uf_redesign/user_functions/value.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/user_functions/value.py?rev=16598&r1=16597&r2=16598&view=diff
==============================================================================
--- branches/uf_redesign/user_functions/value.py (original)
+++ branches/uf_redesign/user_functions/value.py Sat Jun  2 19:23:02 2012
@@ -322,7 +322,7 @@
 table.add_row(["None", "n", "Each parameter matching the strings will be set 
to the default values."])
 table.add_row(["1", "n", "Each parameter matching the strings will be set to 
the supplied number."])
 table.add_row(["n", "n", "Each parameter matching the strings will be set to 
the corresponding number.  Both arrays must be of equal length."])
-uf.desc[-1].add_table(table)
+uf.desc[-1].add_table(table.label)
 # Spin identification.
 uf.desc.append(Desc_container("Spin identification"))
 uf.desc[-1].add_paragraph("If the spin ID is left unset, then this will be 
applied to all spins.  If the data is global non-spin specific data, such as 
diffusion tensor parameters, supplying the spin identifier will terminate the 
program with an error.")




Related Messages


Powered by MHonArc, Updated Sat Jun 02 19:40:02 2012