Author: bugman Date: Tue May 29 12:44:15 2012 New Revision: 16508 URL: http://svn.gna.org/viewcvs/relax?rev=16508&view=rev Log: The specific API param list get_desc() method now skips the error and sim structures. Modified: branches/uf_redesign/specific_fns/api_objects.py Modified: branches/uf_redesign/specific_fns/api_objects.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/specific_fns/api_objects.py?rev=16508&r1=16507&r2=16508&view=diff ============================================================================== --- branches/uf_redesign/specific_fns/api_objects.py (original) +++ branches/uf_redesign/specific_fns/api_objects.py Tue May 29 12:44:15 2012 @@ -24,6 +24,7 @@ """A module of special objects used within the specific function API.""" # Python module imports. +from re import search from types import FunctionType, MethodType # relax module imports. @@ -255,6 +256,10 @@ @rtype: None or str """ + # Skip error and simulation structures. + if search('_err$', name) or search('_sim$', name): + return None + # Parameter check. self.check_param(name)