def _add_wildcard_config(self):
for idx, pair in enumerate(self._traj._wildcard_functions.items()):<EOL><INDENT>wildcards, wc_function = pair<EOL>for jdx, wildcard in enumerate(wildcards):<EOL><INDENT>config_name = ('<STR_LIT>' %<EOL>(self.name, idx, jdx))<EOL>if not self._traj.f_contains('<STR_LIT>' + config_name):<EOL><INDENT>self._traj.f_add_config(Parameter, config_name, wildcard,<EOL>comment='<STR_LIT>').f_lock()<EOL><DEDENT><DEDENT>if hasattr(wc_function, '<STR_LIT>'):<EOL><INDENT>config_name = ('<STR_LIT>' %<EOL>(self.name, idx))<EOL>if not self._traj.f_contains('<STR_LIT>' + config_name):<EOL><INDENT>self._traj.f_add_config(Parameter, config_name, wc_function.__name__,<EOL>comment='<STR_LIT>').f_lock()<EOL><DEDENT><DEDENT>if wc_function.__doc__:<EOL><INDENT>config_name = ('<STR_LIT>' %<EOL>(self.name, idx))<EOL>if not self._traj.f_contains('<STR_LIT>' + config_name):<EOL><INDENT>self._traj.f_add_config(Parameter, config_name, wc_function.__doc__,<EOL>comment='<STR_LIT>').f_lock()<EOL><DEDENT><DEDENT>try:<EOL><INDENT>source = inspect.getsource(wc_function)<EOL>config_name = ('<STR_LIT>' %<EOL>(self.name, idx))<EOL>if not self._traj.f_contains('<STR_LIT>' + config_name):<EOL><INDENT>self._traj.f_add_config(Parameter, config_name, source,<EOL>comment='<STR_LIT>').f_lock()<EOL><DEDENT><DEDENT>except Exception:<EOL><INDENT>pass<EOL><DEDENT><DEDENT>
Adds config data about the wildcard functions