ISISComputingGroup / ISISComputingGroup/lewis
Improve check_limits decorator
Open
enhancement
refactoring
- Dominant language
- Python
- Stars
- 24
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
The `check_limits` decorator that was introduced in #157 has a few shortcomings. In its current form it can only be used on class methods with one numeric parameter.
However it should be extended to be usable on free functions and to decorate functions with multiple parameters that need limit checking.
Contributor guide
Assessment
This issue has not been assessed yet.