mailr4820 - /branches/consistency_tests_1.3/specific_fns/consistency_tests.py


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

Header


Content

Posted by sebastien . morin . 1 on January 17, 2008 - 15:38:
Author: semor
Date: Thu Jan 17 15:38:38 2008
New Revision: 4820

URL: http://svn.gna.org/viewcvs/relax?rev=4820&view=rev
Log:
Removed the num_instances() method from the specific_fns code as it is now 
part of the base class.

This method was moved to the base class in r4804 and the change was explained 
in a post by Edward
d'Auvergne at:
https://mail.gna.org/public/relax-devel/2008-01/msg00063.html (Message-id:
<7f080ed10801170126p7d8f5109ib838a894f4f979a8@xxxxxxxxxxxxxx>)


Modified:
    branches/consistency_tests_1.3/specific_fns/consistency_tests.py

Modified: branches/consistency_tests_1.3/specific_fns/consistency_tests.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/consistency_tests_1.3/specific_fns/consistency_tests.py?rev=4820&r1=4819&r2=4820&view=diff
==============================================================================
--- branches/consistency_tests_1.3/specific_fns/consistency_tests.py 
(original)
+++ branches/consistency_tests_1.3/specific_fns/consistency_tests.py Thu Jan 
17 15:38:38 2008
@@ -28,7 +28,7 @@
 # relax module imports.
 from data import Data as relax_data_store
 from base_class import Common_functions
-from generic_fns.selection import count_spins, exists_mol_res_spin_data, 
spin_loop
+from generic_fns.selection import exists_mol_res_spin_data, spin_loop
 from maths_fns.consistency_tests import Consistency
 from relax_errors import RelaxError, RelaxFuncSetupError, RelaxNoPipeError, 
RelaxNoSequenceError, RelaxNoValueError
 from physical_constants import N15_CSA, NH_BOND_LENGTH
@@ -259,13 +259,6 @@
         # Correlation time (default value)
         elif param == 'tc':
             return 13 * 1e-9
-
-
-    def num_instances(self):
-        """Function for returning the number of instances."""
-
-        # Return the number of residues.
-        return count_spins()
 
 
     def overfit_deselect(self):




Related Messages


Powered by MHonArc, Updated Thu Jan 17 16:00:23 2008