class_docstr: Calculates and outputs NetworkX-based measures for an input network
  
  Example
  -------
  >>> import nipype.interfaces.cmtk as cmtk
  >>> nxmetrics = cmtk.NetworkXMetrics()
  >>> nxmetrics.inputs.in_file = 'subj1.pck'
  >>> nxmetrics.run()                 # doctest: +SKIP
class_docstr_tok: ["Calculates","and","outputs","NetworkX-based","measures","for","an","input","network","Example","--","--","--","-",">",">",">","import","nipype.interfaces.cmtk","as","cmtk",">",">",">","nxmetrics","=","cmtk.NetworkXMetrics","(",")",">",">",">","nxmetrics.inputs.in_file","=","'subj1.pck'",">",">",">","nxmetrics.run","(",")","#","doctest",":","+SKIP"]
code: def _gen_outfilename(self, name, ext):
      return name + "." + ext
  
imports: import os.path
  import pickle
  import numpy
  import networkx
  from ...None import logging
  from ...utils.filemanip import split_filename
  from ..base import BaseInterface, BaseInterfaceInputSpec, traits, File, TraitedSpec, InputMultiPath, OutputMultiPath, isdefined
  from .base import have_cmp
label_desc: Use image node_id 3 for calling the NetworkXMetrics obj's underlying member method code with example usage: obj._gen_outfilename(name, ext) and returns: unknown