mailRe: r2793 - /branches/tensor_pdb/generic_fns/pdb.py


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

Header


Content

Posted by Edward d'Auvergne on November 09, 2006 - 13:25:
That's a good fix.  relax should only depend on data stored in
'self.relax.data', any exceptions will cause these types of bug.  That
one was my fault for not carefully checking code after copying it from
the 'self.read()' function.

Edward



On 11/9/06, c.a.macraild@xxxxxxxxxxx <c.a.macraild@xxxxxxxxxxx> wrote:
Author: macraild
Date: Thu Nov  9 12:27:13 2006
New Revision: 2793

URL: http://svn.gna.org/viewcvs/relax?rev=2793&view=rev
Log:
Fix for bug #7675. Removes unneccessary lookup of pdb.load_seq

https://gna.org/bugs/index.php?7675

Modified:
    branches/tensor_pdb/generic_fns/pdb.py

Modified: branches/tensor_pdb/generic_fns/pdb.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/tensor_pdb/generic_fns/pdb.py?rev=2793&r1=2792&r2=2793&view=diff
==============================================================================
--- branches/tensor_pdb/generic_fns/pdb.py (original)
+++ branches/tensor_pdb/generic_fns/pdb.py Thu Nov  9 12:27:13 2006
@@ -291,7 +291,7 @@
                 raise RelaxNoPdbError, self.run

             # Test if sequence data is loaded.
-            if not self.load_seq and not len(self.relax.data.res[self.run]):
+            if not len(self.relax.data.res[self.run]):
                 raise RelaxNoSequenceError, self.run




_______________________________________________ relax (http://nmr-relax.com)

This is the relax-commits mailing list
relax-commits@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits




Related Messages


Powered by MHonArc, Updated Thu Nov 09 18:40:30 2006