mailr25626 - /trunk/user_functions/__init__.py


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

Header


Content

Posted by edward on September 04, 2014 - 15:35:
Author: bugman
Date: Thu Sep  4 15:35:36 2014
New Revision: 25626

URL: http://svn.gna.org/viewcvs/relax?rev=25626&view=rev
Log:
Created the user_functions.uf_translation_table list.

The elements of this list are the names of user functions before and after a 
renaming.  The list is
provided for backwards compatibility for relax scripts, though it is not used 
yet.


Modified:
    trunk/user_functions/__init__.py

Modified: trunk/user_functions/__init__.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/user_functions/__init__.py?rev=25626&r1=25625&r2=25626&view=diff
==============================================================================
--- trunk/user_functions/__init__.py    (original)
+++ trunk/user_functions/__init__.py    Thu Sep  4 15:35:36 2014
@@ -145,3 +145,11 @@
 
     # Check the validity of the data.
     uf_info.validate()
+
+
+# A table of user function renamings - for script compatibility.
+uf_translation_table = [
+    ['calc', 'minimise.calculate'],
+    ['grid_search', 'minimise.grid_search'],
+    ['minimise', 'minimise.execute']
+]




Related Messages


Powered by MHonArc, Updated Thu Sep 04 16:40:02 2014