Author: bugman Date: Tue Nov 13 23:26:37 2007 New Revision: 3530 URL: http://svn.gna.org/viewcvs/relax?rev=3530&view=rev Log: Fix for bug #10320 (https://gna.org/bugs/?10320). This bug was reported by Douglas Kojetin <douglas dot kojetin at gmail dot com>. The bug was introduced at https://mail.gna.org/public/relax-commits/2007-05/msg00016.html in r3294. When ported to the 1.3 line, the bug somehow did not make it into that code. See https://mail.gna.org/public/relax-commits/2007-06/msg00006.html. The bug is that sometimes an the residue specific parameter array is set to [] rather than there being no parameter array. This situation was trying to be caught in the 1.2 code, however there was a dumb bug - the closing bracket was placed in the wrong position! 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=3530&r1=3529&r2=3530&view=diff ============================================================================== --- 1.2/specific_fns/model_free.py (original) +++ 1.2/specific_fns/model_free.py Tue Nov 13 23:26:37 2007 @@ -1023,7 +1023,7 @@ # continue # No params. - if not hasattr(self.relax.data.res[self.run][i], 'params' or not self.relax.data.res[self.run][i].params): + if not hasattr(self.relax.data.res[self.run][i], 'params') or not self.relax.data.res[self.run][i].params: continue # Local tm.