You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a user contacted me about a problem with a demo script (probably inspired by the ones given with pycs): it seems that this is related to a change in the positional arguments (namely, adding kwargs_optim) in sim.run.multirun.
Error:
Traceback (most recent call last):
File "pycs_test_j1206.py", line 70, in <module>
pycs.sim.run.multirun("copies", lcs, myopt.spl, optset="spl", tsrand=10.0, keepopt=True)
TypeError: multirun() takes at least 4 arguments (6 given)
Could you make this kwargs_optim optional, by setting it to None, and later "if None, make it an empty dict"? I'm asking you, as you are likely most aware of any potential related changes. Or if you prefer, modify the doc and demo files. Thanks!
The text was updated successfully, but these errors were encountered:
Hi @martin-millon,
a user contacted me about a problem with a demo script (probably inspired by the ones given with pycs): it seems that this is related to a change in the positional arguments (namely, adding
kwargs_optim
) in sim.run.multirun.Error:
Could you make this
kwargs_optim
optional, by setting it to None, and later "if None, make it an empty dict"? I'm asking you, as you are likely most aware of any potential related changes. Or if you prefer, modify the doc and demo files. Thanks!The text was updated successfully, but these errors were encountered: