gemmr.data.loaders._check_outcome_data_exists

gemmr.data.loaders._check_outcome_data_exists(fname, path, fetch=True)

Check if a given outcome data file exists and possibly retrieve it if not.

Parameters:
  • fname (str) – name of file which is checked for existence

  • path (str) – local path where it is searched

  • fetch (bool) – if True and data is not found in data_home attempts to retrieve it from repository

Raises:

FileNotFoundError – if file doesn’t exist