proteobench.utils.server_io module#
- proteobench.utils.server_io.dataset_folder_exists(intermediate_hash: str, base_url: str = 'https://proteobench.cubimed.rub.de/datasets/') bool[source]#
Check if a dataset folder already exists on the public server for a given intermediate hash. First tries a direct HEAD to the folder URL, then falls back to parsing the index page.
- Parameters:
intermediate_hash – The hash to check for
base_url – Base URL of the datasets server
- Returns:
True if the dataset folder exists, False otherwise
- proteobench.utils.server_io.get_merged_json(repo_url='https://github.com/Proteobench/Results_quant_ion_DDA/archive/refs/heads/main.zip', write_to_file=False, outfile_name='combined_results.json')[source]#