geneplexus.download
- geneplexus.download.download_select_data(file_loc=None, species='All', data_loc='ZenodoAPI', num_retries=10, log_level='INFO')[source]
Select species of data to download.
- Parameters:
file_loc (str | None) – Location to save data files to. If not specified, set to default data path
~/.data/geneplexusspecies (Literal['All'] | ~typing.Literal['Human', 'Mouse', 'Fly', 'Worm', 'Zebrafish', 'Yeast'] | ~typing.List[~typing.Literal['Human', 'Mouse', 'Fly', 'Worm', 'Zebrafish', '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(file_loc=None, data_loc='ZenodoAPI', num_retries=10, log_level='INFO')[source]
Download data for pytests.
- Parameters:
file_loc (str | None) – Location to save data files to. If not specified, set to default data path
~/.data/geneplexusdata_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