diff --git a/AutoscoperM/AutoscoperM.py b/AutoscoperM/AutoscoperM.py index a54fa4e..185ef9d 100644 --- a/AutoscoperM/AutoscoperM.py +++ b/AutoscoperM/AutoscoperM.py @@ -1160,11 +1160,8 @@ def generateVRGForCameras( :param cameraDir: Directory containing the camera JSON files :param volumeNode: volume node :param outputDir: output directory - :type outputDir: str :param size: size of the VRG - :type size: list[int] :param filename: filename of the VRG - :type filename: str """ self.createPathsIfNotExists(outputDir) # Apply a thresh of 0 to the volume to remove air from the volume @@ -1285,11 +1282,9 @@ def getItemInSequence(sequenceNode: slicer.vtkMRMLSequenceNode, idx: int) -> sli Returns the item at the specified index in the sequence node :param sequenceNode: sequence node - :type sequenceNode: slicer.vtkMRMLSequenceNode :param idx: index - :type idx: int + :return: item at the specified index - :rtype: slicer.vtkMRMLNode """ if not AutoscoperMLogic.IsSequenceVolume(sequenceNode): logging.error("[AutoscoperM.logic.getItemInSequence] sequenceNode must be a sequence node") @@ -1309,9 +1304,8 @@ def getNextItemInSequence(sequenceNode: slicer.vtkMRMLSequenceNode) -> slicer.vt Returns the next item in the sequence :param sequenceNode: sequence node - :type sequenceNode: slicer.vtkMRMLSequenceNode + :return: next item in the sequence - :rtype: slicer.vtkMRMLNode """ if not AutoscoperMLogic.IsSequenceVolume(sequenceNode): logging.error("[AutoscoperM.logic.getNextItemInSequence] sequenceNode must be a sequence node")