From 6e8c3bd1b348f9d53263e95dfc3c4b89c312d5fa Mon Sep 17 00:00:00 2001 From: Loraine Gueguen <loraine.gueguen@sb-roscoff.fr> Date: Mon, 31 May 2021 13:45:34 +0200 Subject: [PATCH] add time_sleep for sapiens get_organisms --- gga_load_data.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gga_load_data.py b/gga_load_data.py index 726b4e9..efb98ca 100755 --- a/gga_load_data.py +++ b/gga_load_data.py @@ -241,7 +241,9 @@ def remove_homo_sapiens_from_db(instance, history_id): instance, tool_id=constants.GET_ORGANISMS_TOOL, # If this version if not found, Galaxy will use the one that is found history_id=history_id, - tool_inputs={"genus": "Homo", "species": "sapiens"}) + tool_inputs={"genus": "Homo", "species": "sapiens"}, + time_sleep = 10 + ) logging.info("Deleting Homo 'sapiens' in the instance's chado database") try: -- GitLab