class_docstr: Experimental Slicer wrapper. Work in progress.
code: def _outputs(self):
      base = super()._outputs()
      undefined_output_traits = {}
      for key in [
          node.getElementsByTagName("name")[0].firstChild.nodeValue
          for node in self._outputs_nodes
      ]:
          base.add_trait(key, File(exists=True))
          undefined_output_traits[key] = Undefined
  
      base.trait_set(
          trait_change_notify=False, **undefined_output_traits
      )
      return base
  
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 2 for calling the SlicerCommandLine obj's underlying member method code with example usage: obj._outputs() and returns: base