interfaces.slicer.utilities¶
EMSegmentTransformToNewFormat¶
Wraps the executable command ``EMSegmentTransformToNewFormat ``.
- title:
- Transform MRML Files to New EMSegmenter Standard
- category:
- Utilities
- description:
- Transform MRML Files to New EMSegmenter Standard
Inputs:
[Optional]
inputMRMLFileName: (a pathlike object or string representing an
existing file)
Active MRML scene that contains EMSegment algorithm parameters in
the format before 3.6.3 - please include absolute file name in path.
argument: ``--inputMRMLFileName %s``
outputMRMLFileName: (a boolean or a pathlike object or string
representing a file)
Write out the MRML scene after transformation to format 3.6.3 has
been made. - has to be in the same directory as the input MRML file
due to Slicer Core bug - please include absolute file name in path
argument: ``--outputMRMLFileName %s``
templateFlag: (a boolean)
Set to true if the transformed mrml file should be used as template
file
argument: ``--templateFlag ``
args: (a unicode string)
Additional parameters to the command
argument: ``%s``
environ: (a dictionary with keys which are a bytes or None or a value
of class 'str' and with values which are a bytes or None or a
value of class 'str', nipype default value: {})
Environment variables
Outputs:
outputMRMLFileName: (a pathlike object or string representing an
existing file)
Write out the MRML scene after transformation to format 3.6.3 has
been made. - has to be in the same directory as the input MRML file
due to Slicer Core bug - please include absolute file name in path