class_docstr: Uses bru2nii's Bru2 to convert Bruker files
  
  Examples
  ========
  
  >>> from nipype.interfaces.bru2nii import Bru2
  >>> converter = Bru2()
  >>> converter.inputs.input_dir = "brukerdir"
  >>> converter.cmdline  # doctest: +ELLIPSIS
  'Bru2 -o .../data/brukerdir brukerdir'
code: def _gen_filename(self, name):
      if name == "output_filename":
          outfile = os.path.join(
              os.getcwd(),
              os.path.basename(os.path.normpath(self.inputs.input_dir)),
          )
          return outfile
  
file_path: nipype/nipype/interfaces/bru2nii.py
imports: import os
  from .base import CommandLine, CommandLineInputSpec, traits, TraitedSpec, isdefined, File, Directory
label_desc: Use image node_id 2 for calling the Bru2 obj's underlying member method code with example usage: obj._gen_filename(name) and returns: outfile