Pymol-Scripts / Pymol-script-repo

Collected scripts for Pymol
http://www.pymolwiki.org/index.php/Git_intro
435 stars 257 forks source link

Python 3.10 disallows float to int implicit conversions #136

Open JarrettSJohnson opened 1 year ago

JarrettSJohnson commented 1 year ago

Seems like python 3.10 disallows these types of conversions. We've run into these issues with Qt-based plugins we ship with PyMOL (e.g. Lighting Settings) after updating to 3.10. I haven't tested yet with the scripts here yet though, but I wouldn't be surprised if many of them here started to stop working for the same reason.

Example from another plugin's issue tracker: https://github.com/vanderkamp/enlighten2-pymol/issues/1