mailr7272 - in /1.3/specific_fns: consistency_tests.py jw_mapping.py


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

Header


Content

Posted by edward on September 24, 2008 - 19:49:
Author: bugman
Date: Wed Sep 24 19:49:02 2008
New Revision: 7272

URL: http://svn.gna.org/viewcvs/relax?rev=7272&view=rev
Log:
Deleted the set_selected_sim() methods, as the base class method is 
sufficient.


Modified:
    1.3/specific_fns/consistency_tests.py
    1.3/specific_fns/jw_mapping.py

Modified: 1.3/specific_fns/consistency_tests.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/consistency_tests.py?rev=7272&r1=7271&r2=7272&view=diff
==============================================================================
--- 1.3/specific_fns/consistency_tests.py (original)
+++ 1.3/specific_fns/consistency_tests.py Wed Sep 24 19:49:02 2008
@@ -28,7 +28,7 @@
 # relax module imports.
 from base_class import Common_functions
 from data import Relax_data_store; ds = Relax_data_store()
-from generic_fns.mol_res_spin import exists_mol_res_spin_data, return_spin, 
return_spin_from_index, spin_loop
+from generic_fns.mol_res_spin import exists_mol_res_spin_data, return_spin, 
spin_loop
 from maths_fns.consistency_tests import Consistency
 from physical_constants import N15_CSA, NH_BOND_LENGTH, h_bar, mu0, 
return_gyromagnetic_ratio
 from relax_errors import RelaxError, RelaxFuncSetupError, RelaxNoPipeError, 
RelaxNoSequenceError, RelaxNoValueError, RelaxProtonTypeError, 
RelaxSpinTypeError
@@ -526,23 +526,6 @@
         return spin.select_sim
 
 
-    def set_selected_sim(self, model_index, select_sim):
-        """Set the array of selected simulation flags.
-
-        @param model_index: The global spin index, covering the molecule, 
residue, and spin
-                            indices).
-        @type model_index:  int
-        @param select_sim:  The selection flags.
-        @type select_sim:   bool
-        """
-
-        # Get the spin container.
-        spin = return_spin_from_index(model_index)
-
-        # Set the simulation flags.
-        spin.select_sim = select_sim
-
-
     def sim_pack_data(self, spin_id, sim_data):
         """Pack the Monte Carlo simulation data.
 

Modified: 1.3/specific_fns/jw_mapping.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/jw_mapping.py?rev=7272&r1=7271&r2=7272&view=diff
==============================================================================
--- 1.3/specific_fns/jw_mapping.py (original)
+++ 1.3/specific_fns/jw_mapping.py Wed Sep 24 19:49:02 2008
@@ -27,7 +27,7 @@
 # relax module imports.
 from base_class import Common_functions
 from data import Relax_data_store; ds = Relax_data_store()
-from generic_fns.mol_res_spin import exists_mol_res_spin_data, return_spin, 
return_spin_from_index, spin_loop
+from generic_fns.mol_res_spin import exists_mol_res_spin_data, return_spin, 
spin_loop
 from maths_fns.jw_mapping import Mapping
 from physical_constants import N15_CSA, NH_BOND_LENGTH, h_bar, mu0, 
return_gyromagnetic_ratio
 from relax_errors import RelaxError, RelaxFuncSetupError, RelaxNoPipeError, 
RelaxNoSequenceError, RelaxNoValueError, RelaxNucleusError, 
RelaxParamSetError, RelaxProtonTypeError, RelaxSpinTypeError
@@ -468,23 +468,6 @@
         return spin.select_sim
 
 
-    def set_selected_sim(self, model_index, select_sim):
-        """Set the array of selected simulation flags.
-
-        @param model_index: The global spin index, covering the molecule, 
residue, and spin
-                            indices).
-        @type model_index:  int
-        @param select_sim:  The selection flags.
-        @type select_sim:   bool
-        """
-
-        # Get the spin container.
-        spin = return_spin_from_index(model_index)
-
-        # Set the simulation flags.
-        spin.select_sim = select_sim
-
-
     def sim_pack_data(self, spin_id, sim_data):
         """Pack the Monte Carlo simulation data.
 




Related Messages


Powered by MHonArc, Updated Wed Sep 24 20:00:05 2008