class_docstr: Experimental Slicer wrapper. Work in progress.
code: def _format_arg(self, name, spec, value):
      if name in [
          output_node.getElementsByTagName("name")[
              0
          ].firstChild.nodeValue
          for output_node in self._outputs_nodes
      ]:
          if isinstance(value, bool):
              fname = self._gen_filename(name)
          else:
              fname = value
          return spec.argstr % fname
      return super()._format_arg(name, spec, value)
  
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 7 for calling the SlicerCommandLine obj's underlying member method code with example usage: obj._format_arg(name, spec, value) and returns: super, unknown