Difference between revisions of "2012 Summer Project Week:PythonCLIandWidget"
m (Text replacement - "http://www.slicer.org/slicerWiki/index.php/" to "https://www.slicer.org/wiki/") |
|||
(One intermediate revision by one other user not shown) | |||
Line 15: | Line 15: | ||
<h3>Objective</h3> | <h3>Objective</h3> | ||
− | Support CLI-style modules implemented in python. This is a key missing feature from slicer3 that is missing from slicer4. See the [ | + | Support CLI-style modules implemented in python. This is a key missing feature from slicer3 that is missing from slicer4. See the [https://www.slicer.org/wiki/Slicer3:Execution_Model_Documentation:Python slicer3 documentation]. As described on that link, several very useful modules are available that could be ported simply by re-enabling this feature (such as the Surface Toolbox and Surface ICP Registration). |
</div> | </div> | ||
Line 27: | Line 27: | ||
From our discussions, Jc and J2 have a good idea how to do this. | From our discussions, Jc and J2 have a good idea how to do this. | ||
− | Here we are talking about CLI-Style python modules that run inside the slicer interpreter. Note that this is ''not'' the same as the discussion in [http://na-mic.org/Bug/view.php?id=2039 | + | Here we are talking about CLI-Style python modules that run inside the slicer interpreter. Note that this is ''not'' the same as the discussion in [http://na-mic.org/Bug/view.php?id=2039 #2039], in which the python CLI runs in an external process. |
</div> | </div> |
Latest revision as of 17:03, 10 July 2017
Home < 2012 Summer Project Week:PythonCLIandWidget
Key Investigators
- Kitware: Jean-Christophe Fillion-Robin (JC), Julien Finet (J2)
- Isomics: Steve Pieper
- BWH: Demian Wassermann
- GE: Jim Miller
Objective
Support CLI-style modules implemented in python. This is a key missing feature from slicer3 that is missing from slicer4. See the slicer3 documentation. As described on that link, several very useful modules are available that could be ported simply by re-enabling this feature (such as the Surface Toolbox and Surface ICP Registration).
Approach, Plan
The key missing piece is a Qt Widget that is parameterized by an Execution Model XML string and is callable from python.
From our discussions, Jc and J2 have a good idea how to do this.
Here we are talking about CLI-Style python modules that run inside the slicer interpreter. Note that this is not the same as the discussion in #2039, in which the python CLI runs in an external process.
Progress
Delivery Mechanism
Slicer4 built-in feature.