mailr4831 - /1.3/generic_fns/value.py


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

Header


Content

Posted by edward on January 17, 2008 - 17:10:
Author: bugman
Date: Thu Jan 17 17:10:28 2008
New Revision: 4831

URL: http://svn.gna.org/viewcvs/relax?rev=4831&view=rev
Log:
Changed the call to diffusion_tensor.set() to the new specific function 
set_nonspin_params().

The code for setting parameters that are non-spin specific is very much 
dependent on the analysis
type, and hence this has been shifted into a call into specific_fns.


Modified:
    1.3/generic_fns/value.py

Modified: 1.3/generic_fns/value.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/value.py?rev=4831&r1=4830&r2=4831&view=diff
==============================================================================
--- 1.3/generic_fns/value.py (original)
+++ 1.3/generic_fns/value.py Thu Jan 17 17:10:28 2008
@@ -155,6 +155,7 @@
 
     # Specific functions.
     return_value = get_specific_fn('return_value', 
relax_data_store[relax_data_store.current_pipe].pipe_type)
+    set_nonspin_params = get_specific_fn('set_nonspin_params', 
relax_data_store[relax_data_store.current_pipe].pipe_type)
 
     # Partition the parameters into those which are spin specific and those 
which are not.
     spin_params, spin_values, other_params, other_values = 
partition_params(val, param)
@@ -200,8 +201,7 @@
     #######################
 
     if other_params:
-        # Set the diffusion parameters.
-        diffusion_tensor.set(value=other_values, param=other_params)
+        set_nonspin_params(value=other_values, param=other_params)
 
 
     # Reset all minimisation statistics.




Related Messages


Powered by MHonArc, Updated Thu Jan 17 17:20:11 2008