From 59c496477a38a0753aa750fb85caa9d9dde7f215 Mon Sep 17 00:00:00 2001 From: jancrichter <40425803+jancrichter@users.noreply.github.com> Date: Wed, 26 Oct 2022 00:49:27 +0200 Subject: [PATCH] supply "kwds" to for_runnable_identifier() directly Trying the workflow_edit command I was getting an error that was caused by the fact that, kwds.get("profile") was called here AND in for_runnable_identifier(). With this change workflow_edit successfully boots up the Galaxy instance. Unfortunately, I am not yet getting anything different then I would get via the serve command. There is no workflow and the tools used in the workflow aren't installed either. --- planemo/commands/cmd_workflow_edit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planemo/commands/cmd_workflow_edit.py b/planemo/commands/cmd_workflow_edit.py index 8392040a3..94e3f54a7 100644 --- a/planemo/commands/cmd_workflow_edit.py +++ b/planemo/commands/cmd_workflow_edit.py @@ -18,7 +18,7 @@ def cli(ctx, workflow_identifier, output=None, force=False, **kwds): """Open a synchronized Galaxy workflow editor.""" assert is_galaxy_engine(**kwds) - runnable = for_runnable_identifier(ctx, workflow_identifier, kwds.get("profile")) + runnable = for_runnable_identifier(ctx, workflow_identifier, kwds) kwds["workflows_from_path"] = True