materialsproject/fireworks

[Bug]: parents not recognized when adding FW from inside FW

Closed this issue · 1 comments

Code snippet

flow = list()
flow.append(task_1, parents=None)
for i in range(4):
  flow.append(task_I, parents=flow[-1])
lpad.add_wf(Workflow(flow))

What happened?

The above code idea works when running in a shell but fails to recognize dependencies when run in a FW

  1. I am running python code that generates a structure
  2. When using a multi-stage workflow with linear dependency (5 tasks of which the previous is the parent of the next except for the first in one workflow) this dependency is lost

Is this intended or am I doing something wrong?

janK

Version

2.0.3

Which OS?

  • MacOS
  • Windows
  • Linux

Log output

No response

never mind, it was NOT a fireworks issue, it was an issue having to make local copies of a parameter dictionary.

janK