diff --git a/hoomd/custom/custom_operation.py b/hoomd/custom/custom_operation.py index fc53244105..e1eadd68d0 100644 --- a/hoomd/custom/custom_operation.py +++ b/hoomd/custom/custom_operation.py @@ -143,7 +143,6 @@ def _wrap_loggable(name, mthd): if isinstance(mthd, property): @property - @functools.wraps(mthd) def getter(self): return getattr(self._action, name) @@ -153,6 +152,7 @@ def getter(self): def setter(self, new_value): setattr(self._action, name, new_value) + getter.__doc__ = mthd.__doc__ return getter @functools.wraps(mthd)