Skip to content

Remove unused ScriptedLoadableModule features #3

@allemangD

Description

@allemangD

One of the nitpick issues mentioned in Slicer/ExtensionsIndex#2006 (review)


Logic classes are CondaSetUpCall and CondaSetUpCallWsl. CondaSetUpLogic is unused, so remove it.


Parameter node is unused - conda settings are persisted in Qt Application settings. I believe this is a correct choice: no conda options should be persisted with the Slicer scene. So remove the logic around parameter node and wrapper.

  • def initializeParameterNode
  • def setParameterNode
  • Logic in exit()
  • Logic in enter()
  • Logic in onSceneStartClose
  • Logic in onSceneEndClose
  • class CondaSetUpParameterNode

Sample data is not used, so remove the sample data from the extension template

  • def registerSampleData
  • Logic in class CondaSetUp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions