mailr2503 - /1.2/specific_fns/model_free.py


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

Header


Content

Posted by c . a . macraild on May 22, 2006 - 18:28:
Author: macraild
Date: Mon May 22 18:28:27 2006
New Revision: 2503

URL: http://svn.gna.org/viewcvs/relax?rev=2503&view=rev
Log:
Proposed fix of Monte Carlo setup bugs for 'diff' type simulations

Proposed fix of bug #5977 at
https://gna.org/bugs/index.php?func=detailitem&item_id=5977


Modified:
    1.2/specific_fns/model_free.py

Modified: 1.2/specific_fns/model_free.py
URL: 
http://svn.gna.org/viewcvs/relax/1.2/specific_fns/model_free.py?rev=2503&r1=2502&r2=2503&view=diff
==============================================================================
--- 1.2/specific_fns/model_free.py (original)
+++ 1.2/specific_fns/model_free.py Mon May 22 18:28:27 2006
@@ -2254,7 +2254,7 @@
                 remap_table.append(data.remap_table)
                 noe_r1_table.append(data.noe_r1_table)
                 ri_labels.append(data.ri_labels)
-                if sim_index == None:
+                if sim_index == None or self.param_set == 'diff':
                     r.append(data.r)
                     csa.append(data.csa)
                 else:
@@ -4250,7 +4250,7 @@
                 object = getattr(self.relax.data, object_name)
 
                 # Test if the object has the key self.run.
-                if not object.has_key(self.relax):
+                if not object.has_key(self.run):
                     continue
 
                 # Copy and append the data.




Related Messages


Powered by MHonArc, Updated Wed May 24 01:40:04 2006