class_docstr: fuse segmentations together from multiple timepoints
  
  Examples
  --------
  >>> from nipype.interfaces.freesurfer import FuseSegmentations
  >>> fuse = FuseSegmentations()
  >>> fuse.inputs.subject_id = 'tp.long.A.template'
  >>> fuse.inputs.timepoints = ['tp1', 'tp2']
  >>> fuse.inputs.out_file = 'aseg.fused.mgz'
  >>> fuse.inputs.in_segmentations = ['aseg.mgz', 'aseg.mgz']
  >>> fuse.inputs.in_segmentations_noCC = ['aseg.mgz', 'aseg.mgz']
  >>> fuse.inputs.in_norms = ['norm.mgz', 'norm.mgz', 'norm.mgz']
  >>> fuse.cmdline
  'mri_fuse_segmentations -n norm.mgz -a aseg.mgz -c aseg.mgz tp.long.A.template tp1 tp2'
class_docstr_tok: ["fuse","segmentations","together","from","multiple","timepoints","Examples","--","--","--","--",">",">",">","from","nipype.interfaces.freesurfer","import","FuseSegmentations",">",">",">","fuse","=","FuseSegmentations","(",")",">",">",">","fuse.inputs.subject_id","=","'tp.long.A.template'",">",">",">","fuse.inputs.timepoints","=","[","'tp1","'",",","'tp2","'","]",">",">",">","fuse.inputs.out_file","=","'aseg.fused.mgz'",">",">",">","fuse.inputs.in_segmentations","=","[","'aseg.mgz","'",",","'aseg.mgz","'","]",">",">",">","fuse.inputs.in_segmentations_noCC","=","[","'aseg.mgz","'",",","'aseg.mgz","'","]",">",">",">","fuse.inputs.in_norms","=","[","'norm.mgz","'",",","'norm.mgz","'",",","'norm.mgz","'","]",">",">",">","fuse.cmdline","'mri_fuse_segmentations","-n","norm.mgz","-a","aseg.mgz","-c","aseg.mgz","tp.long.A.template","tp1","tp2","'"]
code: def _format_arg(self, name, spec, value):
      if name in (
          "in_segmentations",
          "in_segmentations_noCC",
          "in_norms",
      ):
          # return enumeration value
          return spec.argstr % os.path.basename(value[0])
      return super()._format_arg(name, spec, value)
  
imports: import os
  from ...None import logging
  from ..base import TraitedSpec, File, traits, InputMultiPath, OutputMultiPath, isdefined, InputMultiObject, Directory
  from .base import FSCommand, FSTraitedSpec, FSCommandOpenMP, FSTraitedSpecOpenMP, CommandLine
  from .preprocess import ReconAllInputSpec
  from ..io import FreeSurferSource
label_desc: Use image node_id 1 for calling the FuseSegmentations obj's underlying member method code with example usage: obj._format_arg(name, spec, value) and returns: super, unknown