Commit 92dc5d8a authored by Henri Payno's avatar Henri Payno
Browse files

nexus: fix typo on control setter

parent d7c47d41
Pipeline #74467 passed with stages
in 3 minutes and 19 seconds
......@@ -139,7 +139,7 @@ class NXtomo(NXobject):
@control.setter
def control(self, control: Optional[NXmonitor]) -> None:
if not isinstance(control, (type(None), NXsample)):
if not isinstance(control, (type(None), NXmonitor)):
raise TypeError(
f"control is expected ot be an instance of {NXmonitor} or None. Not {type(control)}"
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment