class_docstr: Experimental Slicer wrapper. Work in progress.
code: def _list_outputs(self):
      outputs = self.output_spec().get()
      for output_node in self._outputs_nodes:
          name = output_node.getElementsByTagName("name")[
              0
          ].firstChild.nodeValue
          outputs[name] = getattr(self.inputs, name)
          if isdefined(outputs[name]) and isinstance(
              outputs[name], bool
          ):
              if outputs[name]:
                  outputs[name] = self._gen_filename(name)
              else:
                  outputs[name] = Undefined
      return outputs
  
file_path: nipype/nipype/interfaces/dynamic_slicer.py
imports: import os
  import warnings
  import xml.dom.minidom
  from .base import CommandLine, CommandLineInputSpec, DynamicTraitedSpec, traits, Undefined, File, isdefined
label_desc: Use image node_id 6 for calling the SlicerCommandLine obj's underlying member method code with example usage: obj._list_outputs() and returns: outputs