Author: bugman Date: Wed Jun 6 10:10:58 2012 New Revision: 16680 URL: http://svn.gna.org/viewcvs/relax?rev=16680&view=rev Log: Formatting fixes for the molecule.create user function definition. Modified: branches/uf_redesign/user_functions/molecule.py Modified: branches/uf_redesign/user_functions/molecule.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/user_functions/molecule.py?rev=16680&r1=16679&r2=16680&view=diff ============================================================================== --- branches/uf_redesign/user_functions/molecule.py (original) +++ branches/uf_redesign/user_functions/molecule.py Wed Jun 6 10:10:58 2012 @@ -268,8 +268,8 @@ uf.desc.append(Desc_container()) uf.desc[-1].add_paragraph("This allows the type of the molecule to be specified. It can be one of:") for i in range(len(ALLOWED_MOL_TYPES)-1): - uf.desc[-1].add_list_element("'%s',\n" % ALLOWED_MOL_TYPES[i]) -uf.desc[-1].add_list_element("'%s'.\n" % ALLOWED_MOL_TYPES[-1]) + uf.desc[-1].add_list_element("'%s'," % ALLOWED_MOL_TYPES[i]) +uf.desc[-1].add_list_element("'%s'." % ALLOWED_MOL_TYPES[-1]) # Prompt examples. uf.desc.append(Desc_container("Prompt examples")) uf.desc[-1].add_paragraph("To set the molecule 'Ap4Aase' to the 'protein' type, type one of:")