mailRe: r7037 - in /1.3/specific_fns: model_free/main.py noe.py


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

Header


Content

Posted by Edward d'Auvergne on July 31, 2008 - 11:58:
Hi,

It's amazing how much old style code is still hanging around.  It
might take a while before the 1.3 line is perfectly 100% functional.
I hope to catch this all through system tests eventually.

Regards,

Edward



On Wed, Jul 30, 2008 at 9:13 PM,  <sebastien.morin.1@xxxxxxxxx> wrote:
Author: semor
Date: Wed Jul 30 21:13:07 2008
New Revision: 7037

URL: http://svn.gna.org/viewcvs/relax?rev=7037&view=rev
Log:
Still the same conversions to the desing concerning the check for the 
loading of the sequence.


Modified:
   1.3/specific_fns/model_free/main.py
   1.3/specific_fns/noe.py

Modified: 1.3/specific_fns/model_free/main.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/model_free/main.py?rev=7037&r1=7036&r2=7037&view=diff
==============================================================================
--- 1.3/specific_fns/model_free/main.py (original)
+++ 1.3/specific_fns/model_free/main.py Wed Jul 30 21:13:07 2008
@@ -851,8 +851,8 @@
            raise RelaxFuncSetupError, 
self.relax.specific_setup.get_string(function_type)

        # Test if the sequence data is loaded.
-        if not ds.res.has_key(self.run):
-            raise RelaxNoSequenceError, self.run
+        if not exists_mol_res_spin_data():
+            raise RelaxNoSequenceError

        # Get all data structure names.
        names = self.data_names()

Modified: 1.3/specific_fns/noe.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/noe.py?rev=7037&r1=7036&r2=7037&view=diff
==============================================================================
--- 1.3/specific_fns/noe.py (original)
+++ 1.3/specific_fns/noe.py Wed Jul 30 21:13:07 2008
@@ -388,8 +388,8 @@
            raise RelaxNoPipeError

        # Test if the sequence data is loaded.
-        if not ds.res.has_key(self.run):
-            raise RelaxNoSequenceError, self.run
+        if not exists_mol_res_spin_data():
+            raise RelaxNoSequenceError

        # Open the file for writing.
        noe_file = self.relax.IO.open_write_file(file, dir, force)
@@ -435,8 +435,8 @@
            raise RelaxNoPipeError

        # Test if sequence data is loaded.
-        if not ds.res.has_key(self.run):
-            raise RelaxNoSequenceError, self.run
+        if not exists_mol_res_spin_data():
+            raise RelaxNoSequenceError


        # Header.


_______________________________________________
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 Jul 31 21:25:40 2008