URL:
<http://gna.org/bugs/?20189>
Summary: The value.set user function fails in the GUI (at
least for the CSA value)
Project: relax
Submitted by: bugman
Submitted on: Thu 20 Sep 2012 02:36:03 PM GMT
Category: GUI
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: bugman
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 2.1.0
Operating System: All systems
_______________________________________________________
Details:
When setting the CSA value to -0.000172 via the value.set user function, the
following error is thrown:
Traceback (most recent call last):
File "test_suite/gui_tests/test_user_functions.py", line 117, in
test_value_set
uf.wizard._go_next(None)
File "gui/wizard.py", line 663, in _go_next
self._pages[self._current_page]._apply(event)
File "gui/wizard.py", line 163, in _apply
self.exec_status = self.on_execute()
File "gui/uf_objects.py", line 833, in on_execute
kargs[name] = self.GetValue(name)
File "gui/uf_objects.py", line 450, in GetValue
return self.uf_args[key].GetValue()
File "gui/input_elements/sequence.py", line 271, in GetValue
value = self.convert_from_gui_seq(value)
File "gui/string_conv.py", line 216, in gui_to_list
val = eval(string)
TypeError: eval() arg 1 must be a string or code object
This is caught by the new User_functions.test_value_set GUI test.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20189>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-devel 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-devel