Code Monkey home page Code Monkey logo

slicerconda's People

Contributors

gaelleleroux avatar jcfr avatar

Watchers

 avatar

Forkers

jcfr gaelleleroux

slicerconda's Issues

Remove unused ScriptedLoadableModule features

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

Make conda installation functions private

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

Make the conda installation functions installConda into __private methods so it is clear they shall not be called by third-party code.

The only way to install anything to system should be via the CondaSetUp module UI, or by manually installing a distribution and setting its path. Making these methods private will ensure, or at least make obvious, that other modules shall not automatically install conda distributions without user input.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.