mailr15873 - /1.3/gui/user_functions/bmrb.py


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

Header


Content

Posted by edward on May 02, 2012 - 16:54:
Author: bugman
Date: Wed May  2 16:54:24 2012
New Revision: 15873

URL: http://svn.gna.org/viewcvs/relax?rev=15873&view=rev
Log:
The bmrb.citation GUI user function now uses the new wizard page string list 
GUI element.


Modified:
    1.3/gui/user_functions/bmrb.py

Modified: 1.3/gui/user_functions/bmrb.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/user_functions/bmrb.py?rev=15873&r1=15872&r2=15873&view=diff
==============================================================================
--- 1.3/gui/user_functions/bmrb.py (original)
+++ 1.3/gui/user_functions/bmrb.py Wed May  2 16:54:24 2012
@@ -62,7 +62,7 @@
 
         # The fields.
         self.cite_id = self.input_field(sizer, "The citation ID:", 
tooltip=self.uf._doc_args_dict['cite_id'])
-        self.authors = self.input_field(sizer, "The citation ID:", 
tooltip=self.uf._doc_args_dict['cite_id'])
+        self.authors = self.element_string_list('authors', sizer, "The 
author list:", tooltip=self.uf._doc_args_dict['authors'])
 
 
     def on_execute(self):
@@ -70,7 +70,7 @@
 
         # The data.
         cite_id = gui_to_str(self.cite_id.GetValue())
-        authors = gui_to_str(self.authors.GetValue())
+        authors = self.GetValue('authors')
 
         # Read the relaxation data.
         self.execute('bmrb.citation', cite_id=cite_id, authors=authors)




Related Messages


Powered by MHonArc, Updated Wed May 02 17:00:02 2012