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

RuntimeError: error_theta is not one of the parameters [theta phi psi dx dy dz] #1

Open
d-beltran opened this issue Jan 28, 2021 · 1 comment

Comments

@d-beltran
Copy link

Hi David,

I just installed tmscoring with "pip install tmscoring"
First, it complained about the iminuit module to be missing so I installed it with "pip install iminuit"

Now I am trying to run tmscoring from the shell like this:

import tmscoring
tmscoring.get_tm('frame0.pdb', 'frame1.pdb')

It is returning "RuntimeError: error_theta is not one of the parameters [theta phi psi dx dy dz]" which comes from iminuit: minuit.py line 1527

Any idea?
Thank you :)

@Dapid
Copy link
Owner

Dapid commented Feb 2, 2021

It turns out iminuit has been updated introducing some backwards-incompatible changes. The quick solution is to use pip install 'iminuit<2'.

Updating the code to use the new version should be easy enough, though. Open for contributions.

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

No branches or pull requests

2 participants