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)