class_docstr: Uses MRIcron's dcm2nii to convert dicom files
  
  Examples
  ========
  
  >>> from nipype.interfaces.dcm2nii import Dcm2nii
  >>> converter = Dcm2nii()
  >>> converter.inputs.source_names = ['functional_1.dcm', 'functional_2.dcm']
  >>> converter.inputs.gzip_output = True
  >>> converter.inputs.output_dir = '.'
  >>> converter.cmdline  # doctest: +ELLIPSIS
  'dcm2nii -a y -c y -b config.ini -v y -d y -e y -g y -i n -n y -o . -p y -x n -f n functional_1.dcm'
class_docstr_tok: ["Uses","MRIcron","'s","dcm2nii","to","convert","dicom","files","Examples","========",">",">",">","from","nipype.interfaces.dcm2nii","import","Dcm2nii",">",">",">","converter","=","Dcm2nii","(",")",">",">",">","converter.inputs.source_names","=","[","'functional_1.dcm","'",",","'functional_2.dcm","'","]",">",">",">","converter.inputs.gzip_output","=","True",">",">",">","converter.inputs.output_dir","=","'",".","'",">",">",">","converter.cmdline","#","doctest",":","+ELLIPSIS","'dcm2nii","-a","y","-c","y","-b","config.ini","-v","y","-d","y","-e","y","-g","y","-i","n","-n","y","-o",".","-p","y","-x","n","-f","n","functional_1.dcm","'"]
code: def _list_outputs(self):
      outputs = self.output_spec().get()
      outputs["converted_files"] = self.output_files
      outputs["reoriented_files"] = self.reoriented_files
      outputs[
          "reoriented_and_cropped_files"
      ] = self.reoriented_and_cropped_files
      outputs["bvecs"] = self.bvecs
      outputs["bvals"] = self.bvals
      return outputs
  
imports: import os
  import re
  from copy import deepcopy
  import itertools
  import glob
  from glob import iglob
  from ..utils.filemanip import split_filename
  from .base import CommandLine, CommandLineInputSpec, InputMultiPath, traits, TraitedSpec, OutputMultiPath, isdefined, File, Directory, PackageInfo
label_desc: Use image node_id 4 for calling the Dcm2nii obj's underlying member method code with example usage: obj._list_outputs() and returns: outputs