mailr6446 - /1.3/specific_fns/model_free/main.py


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

Header


Content

Posted by edward on June 22, 2008 - 22:48:
Author: bugman
Date: Sun Jun 22 22:34:49 2008
New Revision: 6446

URL: http://svn.gna.org/viewcvs/relax?rev=6446&view=rev
Log:
Added the spin specific relaxation data objects to the model-free 
data_names() return value.


Modified:
    1.3/specific_fns/model_free/main.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=6446&r1=6445&r2=6446&view=diff
==============================================================================
--- 1.3/specific_fns/model_free/main.py (original)
+++ 1.3/specific_fns/model_free/main.py Sun Jun 22 22:34:49 2008
@@ -33,6 +33,7 @@
 from data import Relax_data_store; ds = Relax_data_store()
 from float import isNaN,isInf
 from generic_fns import diffusion_tensor
+from generic_fns import relax_data
 from generic_fns.mol_res_spin import count_spins, exists_mol_res_spin_data, 
return_spin, return_spin_from_index, spin_loop
 from maths_fns.mf import Mf
 from minfx.generic import generic_minimise
@@ -717,6 +718,10 @@
 
         # Structural data.
         names.append('xh_vect')
+
+        # Relaxation data.
+        if set == 'all':
+            names = names + relax_data.get_data_names()
 
         # Return the names.
         return names




Related Messages


Powered by MHonArc, Updated Sun Jun 22 23:00:19 2008