Open metasoarous opened 11 years ago
Sure. (might try functools.wraps
On Fri, Oct 4, 2013 at 2:40 PM, Christopher Small notifications@github.comwrote:
From the docs:
name_targets() does not preserve the name of the decorated function, so the name of the target must be provided as a parameter to add_target().
This can be avoided by assigning wrap.func_name = func.func_name in the name_targets source.
— Reply to this email directly or view it on GitHubhttps://github.com/fhcrc/nestly/issues/19 .
Connor McCoy Fred Hutchinson Cancer Research Center 1100 Fairview Ave N. Seattle, WA 98109-1924 cmccoy@fhcrc.org
From the docs:
This can be avoided by assigning
wrap.func_name = func.func_name
in thename_targets
source.