|
Slicer 4.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Functions | |
| def | cancel |
| def | createNode |
| def | run |
| def | setNodeParameters |
This module is a place holder for convenient functions allowing to interact with CLI.
| def cli::createNode | ( | cliModule, | |
parameters = None |
|||
| ) |
| def cli::run | ( | module, | |
node = None, |
|||
parameters = None, |
|||
wait_for_completion = False, |
|||
delete_temporary_files = True |
|||
| ) |
Runs a CLI, optionally given a node with optional parameters, returning back the node (or the new one if created) node: existing parameter node (None by default) parameters: dictionary of parameters for cli (None by default) wait_for_completion: block if True (False by default) delete_temporary_files: remove temp files created during exectuion (True by default)
| def cli::setNodeParameters | ( | node, | |
| parameters | |||
| ) |
Sets parameters for a vtkMRMLCommandLineModuleNode given a dictionary of (parameterName, parameterValue) pairs For vectors: provide a list, tuple or comma-separated string For enumerations, provide the single enumeration value For files and directories, provide a string For images, geometry, points and regions, provide a vtkMRMLNode
1.7.4