Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimization of PEtab problem fails with TypeError #537

Closed
iewert opened this issue Dec 7, 2020 · 2 comments
Closed

Optimization of PEtab problem fails with TypeError #537

iewert opened this issue Dec 7, 2020 · 2 comments

Comments

@iewert
Copy link

iewert commented Dec 7, 2020

Good evening,

I am using the latest pyPESTO develop branch and tried parameter estimation with two models including the Zhao2020 model from the benchmark collection.
Some time ago my script worked like this for me, but now I get the following error message:

Traceback (most recent call last):
  File "/Zhao_QuantBiol2020/example_parameter_estimation_Zhao2020.py", line 25, in <module>
    result = optimize.minimize(problem=problem, optimizer=optimizer,
  File "/pypesto/pypesto/optimize/optimize.py", line 87, in minimize
    startpoints = assign_startpoints(
  File "/pypesto/pypesto/startpoint/util.py", line 49, in assign_startpoints
    x_sampled = startpoint_method(
TypeError: startpoint_method() missing 1 required positional argument: 'n_samples'

Attached you can find the PEtab files and the example script. Do you have any idea what might be the problem here?

Thank you in advance!
example.zip

@dweindl
Copy link
Member

dweindl commented Dec 7, 2020

Do you have any idea what might be the problem here?

Yes, #535 (comment)

@jvanhoefer
Copy link
Member

Thank you for pointing this out. Is fixed in #538

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants