mailr6649 - /1.3/data/mol_res_spin.py


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

Header


Content

Posted by edward on July 04, 2008 - 01:15:
Author: bugman
Date: Fri Jul  4 01:15:39 2008
New Revision: 6649

URL: http://svn.gna.org/viewcvs/relax?rev=6649&view=rev
Log:
Bug fix for the SpinList.to_xml() method.

The return_data_desc() function is only called if it exists.


Modified:
    1.3/data/mol_res_spin.py

Modified: 1.3/data/mol_res_spin.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/data/mol_res_spin.py?rev=6649&r1=6648&r2=6649&view=diff
==============================================================================
--- 1.3/data/mol_res_spin.py (original)
+++ 1.3/data/mol_res_spin.py Fri Jul  4 01:15:39 2008
@@ -239,7 +239,10 @@
             if data_names:
                 for name in data_names(error_names=True, sim_names=True):
                     # Get the description.
-                    desc = return_data_desc(name, spin=self[i])
+                    if return_data_desc:
+                        desc = return_data_desc(name, spin=self[i])
+                    else:
+                        desc = None
 
                     # Append the two.
                     object_info.append([name, desc])




Related Messages


Powered by MHonArc, Updated Fri Jul 04 01:40:08 2008