From 58c3c8216bc838b95cde6e93ffc542de11b26fed Mon Sep 17 00:00:00 2001 From: alebars_sb <arthur.le-bars@sb-roscoff.fr> Date: Thu, 29 Jul 2021 09:46:32 +0200 Subject: [PATCH] Fix for bioblend get_datasets method throwing ConnectionError --- gga_run_workflow_phaeo_blast_interpro.py | 4 ++-- utilities_bioblend.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gga_run_workflow_phaeo_blast_interpro.py b/gga_run_workflow_phaeo_blast_interpro.py index 30579fc..5861390 100644 --- a/gga_run_workflow_phaeo_blast_interpro.py +++ b/gga_run_workflow_phaeo_blast_interpro.py @@ -298,8 +298,8 @@ class RunWorkflowBlastInterpro(gga_run_workflow_phaeo.RunWorkflow): blastp_ldda_id = ldda_id elif ldda_name.endswith(self.blastx_filename): blastx_ldda_id = ldda_id - - hda_list = self.instance.datasets.get_datasets(self.history_id) + + hda_list = self.instance.datasets.get_datasets() # Finding datasets in history (matching datasets names) for hda in hda_list: hda_name = hda["name"] diff --git a/utilities_bioblend.py b/utilities_bioblend.py index 4e000d1..e918308 100644 --- a/utilities_bioblend.py +++ b/utilities_bioblend.py @@ -150,6 +150,7 @@ def install_repository_revision(instance, tool_id, version, changeset_revision): install_repository_dependencies=False, install_resolver_dependencies=True) + def install_workflow_tools(instance, workflow_path): """ Read a .ga file to extract the information about the different tools called. -- GitLab