data_baseIOLoaderDumperutilsget_meta_filename

get_meta_filename

data_base.IO.LoaderDumper.utils.get_meta_filename(savedir, raise_=True)

Get the filename of the meta file in the savedir.

Parameters:
  • savedir (str) – The directory to look for the meta file.

  • raise_ (bool, optional) – Whether to raise an error if no meta file is found. Defaults to True.

Raises:

FileNotFoundError – If no meta file is found in the savedir.

Returns:

the name of the meta file.

Return type:

str