tmscoring icon indicating copy to clipboard operation
tmscoring copied to clipboard

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

Open d-beltran opened this issue 5 years ago • 1 comments

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 :)

d-beltran avatar Jan 28 '21 17:01 d-beltran

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.

Dapid avatar Feb 02 '21 13:02 Dapid