class_docstr: Replace deep gray matter structures segmented with FSL FIRST in a
  FreeSurfer parcellation.
  
  Example
  -------
  
  >>> import nipype.interfaces.mrtrix3 as mrt
  >>> prep = mrt.ReplaceFSwithFIRST()
  >>> prep.inputs.in_file = 'aparc+aseg.nii'
  >>> prep.inputs.in_t1w = 'T1.nii.gz'
  >>> prep.inputs.in_config = 'mrtrix3_labelconfig.txt'
  >>> prep.cmdline                               # doctest: +ELLIPSIS
  'fs_parc_replace_sgm_first aparc+aseg.nii T1.nii.gz mrtrix3_labelconfig.txt aparc+first.mif'
  >>> prep.run()                                 # doctest: +SKIP
class_docstr_tok: ["Replace","deep","gray","matter","structures","segmented","with","FSL","FIRST","in","a","FreeSurfer","parcellation",".","Example","--","--","--","-",">",">",">","import","nipype.interfaces.mrtrix3","as","mrt",">",">",">","prep","=","mrt.ReplaceFSwithFIRST","(",")",">",">",">","prep.inputs.in_file","=","'aparc+aseg.nii'",">",">",">","prep.inputs.in_t1w","=","'T1.nii.gz'",">",">",">","prep.inputs.in_config","=","'mrtrix3_labelconfig.txt'",">",">",">","prep.cmdline","#","doctest",":","+ELLIPSIS","'fs_parc_replace_sgm_first","aparc+aseg.nii","T1.nii.gz","mrtrix3_labelconfig.txt","aparc+first.mif'",">",">",">","prep.run","(",")","#","doctest",":","+SKIP"]
code: def _list_outputs(self):
      outputs = self.output_spec().get()
      outputs["out_file"] = op.abspath(self.inputs.out_file)
      return outputs
  
imports: import os.path
  from ..base import CommandLine, CommandLineInputSpec, Directory, File, InputMultiObject, TraitedSpec, Undefined, isdefined, traits
  from .base import MRTrix3Base, MRTrix3BaseInputSpec
label_desc: Use image node_id 1 for calling the ReplaceFSwithFIRST obj's underlying member method code with example usage: obj._list_outputs() and returns: outputs