Reputation: 5
What is the best way to set inputs in CaseIteratorDriver? An example shows direct assignment via: self.driver.case_inputs.param_name = [0,1,2]
That doesn't seem to properly get handled when running CaseIteratorDriver in parallel. I tried setting them via self.driver.setsinputs(CaseArray({'x':[0,1,2]})
but that fails too. It appears CaseArray doesn't generate the 'generator' object that set_inputs is expecting. What classes do generate the correct object?
Upvotes: 0
Views: 96
Reputation: 5710
Setting it to a list should have worked fine. What is the behavior you're seeing that makes you think it is not working in parallel?
How are you running it in parallel? By setting sequential=False
?
Upvotes: 0