def _GetCSPSearchPathForPath(path):

  command = [_DSCL, '-plist', path, '-read', '/', 'CSPSearchPath']
  (stdout, stderr, unused_returncode) = gmacpyutil.RunProcess(command)
  result = plistlib.readPlistFromString(stdout)
  if 'dsAttrTypeStandard:CSPSearchPath' in result:
    search_nodes = result['dsAttrTypeStandard:CSPSearchPath']
    return search_nodes
  else:
    raise DSException('Unable to retrieve search nodes: %s' % stderr)
Apply a function to a subset of channels.
dataset/ETHPy150Open google/macops/gmacpyutil/gmacpyutil/ds.py/_GetCSPSearchPathForPath--crossover with--dataset/ETHPy150Open mne-tools/mne-python/mne/io/base.py/_BaseRaw.apply_function