ISISComputingGroup / ISISComputingGroup/genie
load_script type checking - allow `np` datatypes in `cset` / `PVValue`
Open
good first issue
- Dominant language
- Python
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
As a user on MERLIN I would like the following snippet to pass type checking:
```python
import numpy as np
from genie_python import genie as g
def runscript():
for psi in np.arange(30,130,10):
g.cset("Rot", psi, lowlimit=psi-0.1, highlimit=psi+0.1, runcontrol=True)
```
It currently fails with:
```
E: Argument of type "signedinteger[Any]" cannot be assigned to parameter "args" of type "PVValue"
```
`PVValue` should also include `np` types
### Acceptance criteria
- [ ] Above snippet passes type checking
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.