Skip to content
/ Slicer Public
forked from Slicer/Slicer

Commit

Permalink
DOC: Clarify EndoscopyLogic API fixing setControlPoints type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfr committed Dec 8, 2023
1 parent c6a86d9 commit 706a790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/Scripted/Endoscopy/Endoscopy.py
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ def cleanup(self):
self.cameraOrientations = None
self.cameraOrientationResampledCurveIndices = None

def setControlPoints(self, inputCurve: slicer.vtkMRMLMarkupsCurveNode) -> bool:
def setControlPoints(self, inputCurve: slicer.vtkMRMLMarkupsCurveNode) -> None:
expectedType = slicer.vtkMRMLMarkupsCurveNode
if not isinstance(inputCurve, expectedType):
raise TypeError(
Expand Down

0 comments on commit 706a790

Please sign in to comment.