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, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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 [email protected] 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
_______________________________________________ relax (http://nmr-relax.com) This is the relax-devel mailing list [email protected] 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-devel

