Skip to content

Commit

Permalink
STYLE: Simplify HomeLogic by removing unused "run" function
Browse files Browse the repository at this point in the history
Removing unused "run" function originally associated with the scripted
module template logic intended to generate use-case specific modules.
  • Loading branch information
jcfr committed Aug 21, 2024
1 parent 16887d4 commit 617c432
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions {{cookiecutter.project_name}}/Modules/Scripted/Home/Home.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,17 +143,8 @@ def styleSliceWidget(self, sliceWidget: slicer.qMRMLSliceWidget):


class HomeLogic(ScriptedLoadableModuleLogic):
"""This class should implement all the actual
computation done by your module. The interface
should be such that other python code can import
this class and make use of the functionality without
requiring an instance of the Widget.
Uses ScriptedLoadableModuleLogic base class, available at:
https://github.com/Slicer/Slicer/blob/main/Base/Python/slicer/ScriptedLoadableModule.py
"""
Implements underlying logic for the Home module.
"""

def run(self, inputVolume, outputVolume, imageThreshold, enableScreenshots=0): # noqa: ANN001
"""
Run the actual algorithm
"""
pass
pass

0 comments on commit 617c432

Please sign in to comment.