From 62eb2c92108bf7a4896bae058ba85d0aabfea538 Mon Sep 17 00:00:00 2001 From: Janosh Riebesell Date: Sun, 13 Aug 2023 17:25:51 -0700 Subject: [PATCH] fix TypeError when passing name to flow_to_workflow() --- src/jobflow/managers/fireworks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jobflow/managers/fireworks.py b/src/jobflow/managers/fireworks.py index 69f8de75..d1a24c7c 100644 --- a/src/jobflow/managers/fireworks.py +++ b/src/jobflow/managers/fireworks.py @@ -56,7 +56,7 @@ def flow_to_workflow( fw = job_to_firework(job, store, parents=parents, parent_mapping=parent_mapping) fireworks.append(fw) - return Workflow(fireworks, name=flow.name, **kwargs) + return Workflow(fireworks, name=kwargs.pop("name", flow.name), **kwargs) def job_to_firework(