docs: def dataset_path(cache=None, cachefile="~/.io3d_cache.yaml", get_root=False):
      """Get dataset path.
  
      :param cache: CacheFile object
      :param cachefile: cachefile path, default '~/.io3d_cache.yaml'
      :return: path to dataset
      """
      local_data_dir = local_dir
  
      if cachefile is not None:
          cache = cachef.CacheFile(cachefile)
          # cache.update('local_dataset_dir', head)
      if cache is not None:
          local_data_dir = cache.get_or_save_default("local_dataset_dir", local_dir)
  
      if get_root:
          local_data_dir
      else:
          logger.warning("Parameter")
          local_data_dir = op.join(local_data_dir, "medical", "orig")
  
      return op.expanduser(local_data_dir)