mailr11905 - /1.3/specific_fns/model_free/results.py


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

Header


Content

Posted by edward on December 20, 2010 - 14:18:
Author: bugman
Date: Mon Dec 20 14:18:21 2010
New Revision: 11905

URL: http://svn.gna.org/viewcvs/relax?rev=11905&view=rev
Log:
Fix for bug #17361 (https://gna.org/bugs/index.php?17361).

The chi2_sim structure should have been initialised to a list, not a 
dictionary.


Modified:
    1.3/specific_fns/model_free/results.py

Modified: 1.3/specific_fns/model_free/results.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/model_free/results.py?rev=11905&r1=11904&r2=11905&view=diff
==============================================================================
--- 1.3/specific_fns/model_free/results.py (original)
+++ 1.3/specific_fns/model_free/results.py Mon Dec 20 14:18:21 2010
@@ -418,7 +418,7 @@
 
                 # Create the simulation object.
                 if model_type == 'diff' or model_type == 'all':
-                    setattr(cdp, sim_object_name, {})
+                    setattr(cdp, sim_object_name, [])
                     object = getattr(cdp, sim_object_name)
                     object = []
                 else:




Related Messages


Powered by MHonArc, Updated Mon Dec 20 14:40:02 2010