Skip to content

Commit

Permalink
Merge branch '4dct-new-vrg-pipline' of https://github.com/NicerNewerC…
Browse files Browse the repository at this point in the history
…ar/SlicerAutoscoperM into 4dct-new-vrg-pipline
  • Loading branch information
NicerNewerCar committed Mar 25, 2024
2 parents 379e71b + 2cd0c8c commit eb231b0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions AutoscoperM/AutoscoperM.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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")
Expand All @@ -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")
Expand Down

0 comments on commit eb231b0

Please sign in to comment.