Author: bugman
Date: Tue May 8 19:00:36 2012
New Revision: 16117
URL: http://svn.gna.org/viewcvs/relax?rev=16117&view=rev
Log:
The align_tensor.init param_types arg is now a ComboBox with the choices in the
GUI.
Modified:
branches/uf_redesign/user_functions/align_tensor.py
Modified: branches/uf_redesign/user_functions/align_tensor.py
URL:
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/user_functions/align_tensor.py?rev=16117&r1=16116&r2=16117&view=diff
==============================================================================
--- branches/uf_redesign/user_functions/align_tensor.py (original)
+++ branches/uf_redesign/user_functions/align_tensor.py Tue May 8 19:00:36 2012
@@ -226,13 +226,34 @@
desc = "The units for the angle parameters."
)
uf.add_keyarg(
- name = "param_types",
- default = 0,
- py_type = "int",
- desc_short = "parameter types",
- desc = "A flag to select different parameter combinations."
-)
-
+ name = "param_types",
+ default = 2,
+ py_type = "int",
+ desc_short = "parameter types",
+ desc = "A flag to select different parameter combinations.",
+ wiz_element_type = "combo",
+ wiz_combo_choices = [
+ "{Sxx, Syy, Sxy, Sxz, Syz}",
+ "{Szz, Sxx-yy, Sxy, Sxz, Syz}",
+ "{Axx, Ayy, Axy, Axz, Ayz}",
+ "{Azz, Axx-yy, Axy, Axz, Ayz}",
+ "{Axx, Ayy, Axy, Axz, Ayz}",
+ "{Azz, Axx-yy, Axy, Axz, Ayz}",
+ "{Pxx, Pyy, Pxy, Pxz, Pyz}",
+ "{Pzz, Pxx-yy, Pxy, Pxz, Pyz}"
+ ],
+ wiz_combo_data = [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7
+ ],
+ wiz_read_only = True
+)
uf.add_keyarg(
name = "errors",
default = False,
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits