class_docstr: Uses mne_watershed_bem to get information from dicom directories
  
  Examples
  --------
  
  >>> from nipype.interfaces.mne import WatershedBEM
  >>> bem = WatershedBEM()
  >>> bem.inputs.subject_id = 'subj1'
  >>> bem.inputs.subjects_dir = '.'
  >>> bem.cmdline
  'mne watershed_bem --overwrite --subject subj1 --volume T1'
  >>> bem.run()  # doctest: +SKIP
code: def _get_files(self, path, key, dirval, altkey=None):
      globsuffix = "*"
      globprefix = "*"
      keydir = op.join(path, dirval)
      if altkey:
          key = altkey
      globpattern = op.join(
          keydir, "".join((globprefix, key, globsuffix))
      )
      return glob.glob(globpattern)
  
file_path: nipype/nipype/interfaces/mne/base.py
imports: import os.path
  import glob
  from ...None import logging
  from ...utils.filemanip import simplify_list
  from ..base import traits, File, Directory, TraitedSpec, OutputMultiPath
  from ..freesurfer.base import FSCommand, FSTraitedSpec
label_desc: Use image node_id 1 for calling the WatershedBEM obj's underlying member method code with example usage: obj._get_files(path, key, dirval, altkey) and returns: glob