From 1cb2e9dadd46ff32af66c470375a7e7c8d1e0337 Mon Sep 17 00:00:00 2001 From: Igor Tatarnikov Date: Wed, 23 Oct 2024 10:35:53 +0100 Subject: [PATCH] Increase max retries to 8 --- .../atlas_specific/allen_brain_atlas/gene_expression/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brainrender/atlas_specific/allen_brain_atlas/gene_expression/api.py b/brainrender/atlas_specific/allen_brain_atlas/gene_expression/api.py index ec9e565..85ed432 100644 --- a/brainrender/atlas_specific/allen_brain_atlas/gene_expression/api.py +++ b/brainrender/atlas_specific/allen_brain_atlas/gene_expression/api.py @@ -87,7 +87,7 @@ def get_gene_experiments(self, gene): :param gene_symbol: str """ url = self.gene_experiments_url.replace("-GENE_SYMBOL-", gene) - max_retries = 5 + max_retries = 8 delay = 4 for i in range(max_retries):