Author: bugman
Date: Mon May 7 14:27:35 2012
New Revision: 16046
URL: http://svn.gna.org/viewcvs/relax?rev=16046&view=rev
Log:
Fix for the relax_data.back_calc user function data.
All arguments can be None!
Modified:
branches/uf_redesign/user_functions/relax_data.py
Modified: branches/uf_redesign/user_functions/relax_data.py
URL:
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/user_functions/relax_data.py?rev=16046&r1=16045&r2=16046&view=diff
==============================================================================
--- branches/uf_redesign/user_functions/relax_data.py (original)
+++ branches/uf_redesign/user_functions/relax_data.py Mon May 7 14:27:35 2012
@@ -44,7 +44,8 @@
name = "ri_id",
py_type = "str",
desc_short = "relaxation ID string",
- desc = "The relaxation data ID string."
+ desc = "The relaxation data ID string.",
+ can_be_none = True
)
uf.add_keyarg(
name = "ri_type",
@@ -64,7 +65,7 @@
can_be_none = True
)
uf.desc = """
-This allows relaxation data of the given type and frequency to be back
calculated from the model parameter values. If the relaxation data type and
frequency are not given, then relaxation data matching that currently loaded in
the relax data store will be back-calculated.
+This allows relaxation data of the given type and frequency to be back
calculated from the model parameter values. If the relaxation data ID, type
and frequency are not given, then relaxation data matching that currently
loaded in the relax data store will be back-calculated.
"""
uf.backend = relax_data.back_calc
uf.menu_text = "&back_calc"
_______________________________________________
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