class_docstr: Generate a connectome matrix from a streamlines file and a node
  parcellation image
  
  Example
  -------
  
  >>> import nipype.interfaces.mrtrix3 as mrt
  >>> mat = mrt.BuildConnectome()
  >>> mat.inputs.in_file = 'tracks.tck'
  >>> mat.inputs.in_parc = 'aparc+aseg.nii'
  >>> mat.cmdline                               # doctest: +ELLIPSIS
  'tck2connectome tracks.tck aparc+aseg.nii connectome.csv'
  >>> mat.run()                                 # doctest: +SKIP
class_docstr_tok: ["Generate","a","connectome","matrix","from","a","streamlines","file","and","a","node","parcellation","image","Example","--","--","--","-",">",">",">","import","nipype.interfaces.mrtrix3","as","mrt",">",">",">","mat","=","mrt.BuildConnectome","(",")",">",">",">","mat.inputs.in_file","=","'tracks.tck'",">",">",">","mat.inputs.in_parc","=","'aparc+aseg.nii'",">",">",">","mat.cmdline","#","doctest",":","+ELLIPSIS","'tck2connectome","tracks.tck","aparc+aseg.nii","connectome.csv'",">",">",">","mat.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
  import os.path
  from ..base import CommandLineInputSpec, traits, TraitedSpec, File, isdefined
  from .base import MRTrix3Base
label_desc: Use image node_id 1 for calling the BuildConnectome obj's underlying member method code with example usage: obj._list_outputs() and returns: outputs