Author: bugman Date: Wed May 9 14:20:48 2012 New Revision: 16149 URL: http://svn.gna.org/viewcvs/relax?rev=16149&view=rev Log: The Uf_container object can now have the 'desc' variable set multiple times. This allows for molecule user functions where the generic_fns.mol_res_spin.ALLOWED_MOL_TYPES list values are appended to the description. Modified: branches/uf_redesign/user_functions/objects.py Modified: branches/uf_redesign/user_functions/objects.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/user_functions/objects.py?rev=16149&r1=16148&r2=16149&view=diff ============================================================================== --- branches/uf_redesign/user_functions/objects.py (original) +++ branches/uf_redesign/user_functions/objects.py Wed May 9 14:20:48 2012 @@ -164,7 +164,7 @@ raise RelaxError("The object '%s' is not a modifiable attribute." % name) # Check for duplicative modifications (to catch typo coding errors). - if name in ['title', 'title_short', 'backend', 'desc', 'prompt_examples', 'gui_icon']: + if name in ['title', 'title_short', 'backend', 'prompt_examples', 'gui_icon']: # No object set yet. if not hasattr(self, name): obj = None