mailr4171 - /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 December 09, 2007 - 22:08:
Author: bugman
Date: Sun Dec  9 22:08:44 2007
New Revision: 4171

URL: http://svn.gna.org/viewcvs/relax?rev=4171&view=rev
Log:
Bug fix for the partition_params() function.

The specific return_data_names function is now passed into it.


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=4171&r1=4170&r2=4171&view=diff
==============================================================================
--- 1.3/generic_fns/value.py (original)
+++ 1.3/generic_fns/value.py Sun Dec  9 22:08:44 2007
@@ -32,7 +32,7 @@
 from specific_fns import get_specific_fn
 
 
-def partition_params(val, param):
+def partition_params(val, param, return_data_name):
     """Function for sorting and partitioning the parameters and their values.
 
     The two major partitions are the tensor parameters and the spin specific 
parameters.
@@ -195,7 +195,7 @@
     set = get_specific_fn('set', cdp.pipe_type)
 
     # Sort the parameters and their values.
-    tensor_params, tensor_values, spin_params, spin_values = 
partition_params(val, param)
+    tensor_params, tensor_values, spin_params, spin_values = 
partition_params(val, param, return_data_name)
 
 
     # Diffusion tensor parameters.




Related Messages


Powered by MHonArc, Updated Sun Dec 09 22:20:10 2007