class_docstr: Experimental Slicer wrapper. Work in progress.
code: def _gen_filename_from_param(self, param):
      base = param.getElementsByTagName("name")[0].firstChild.nodeValue
      fileExtensions = param.getAttribute("fileExtensions")
      if fileExtensions:
          ext = fileExtensions
      else:
          ext = {"image": ".nii", "transform": ".txt", "file": ""}[
              param.nodeName
          ]
      return base + ext
  
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 5 for calling the SlicerCommandLine obj's underlying member method code with example usage: obj._gen_filename_from_param(param) and returns: unknown