schrodinger / pymol-open-source

Open-source foundation of the user-sponsored PyMOL molecular visualization system.
https://pymol.org/
Other
1.15k stars 275 forks source link

Fix colors panel #345

Closed speleo3 closed 6 months ago

speleo3 commented 6 months ago

Fix the "Settings > Colors..." panel. Sliders need int value.

Traceback (most recent call last):
  File ".../pmg_qt/pymol_qt_gui.py", line 576, in update_gui
    form.slider_R.setValue(R * 100)
TypeError: setValue(self, a0: int): argument 1 has unexpected type 'float'
wiz-inc-87ff8274df[bot] commented 6 months ago

Wiz Scan Summary

IaC Misconfigurations 0C 0H 0M 0L 0I
Vulnerabilities 0C 0H 0M 0L 0I
Sensitive Data 0C 0H 0M 0L 0I
Total 0C 0H 0M 0L 0I
Secrets 0🔑