geneplexus.download

geneplexus.download.download_select_data(data_dir, species='All', data_loc='ZenodoAPI', num_retries=10, log_level='INFO')[source]

Select species of data to download.

Parameters:
  • data_dir (str) – Location of data files.

  • species (Literal['All'] | ~typing.Literal['Human', 'Mouse', 'Fly', 'Worm', 'Fish', 'Yeast'] | ~typing.List[~typing.Literal['Human', 'Mouse', 'Fly', 'Worm', 'Fish', 'Yeast']]) – Species of interest, accept multiple selection as a list. Do all the species if set to “All”.

  • data_loc (str) – the remote system where to look for the data

  • num_retries (int) – Number of times to retry downloading a file.

  • log_level (Literal['CRITICAL', 'ERROR', 'WARNING', 'INFO', 'DEBUG']) – Level to set the logger

geneplexus.download.download_pytest_data(data_dir, data_loc='ZenodoAPI', num_retries=10, log_level='INFO')[source]

Download data for pytests.

Parameters:
  • data_dir (str) – Location of data files.

  • data_loc (str) – the remote system where to look for the data

  • num_retries (int) – Number of times to retry downloading a file.

  • log_level (Literal['CRITICAL', 'ERROR', 'WARNING', 'INFO', 'DEBUG']) – Level to set the logger