cbalbin-bio / pymol-color-alphafold

PyMOL extension to color AlphaFold structures by confidence (pLDDT).
MIT License
70 stars 22 forks source link

Not coloring when pLDDT is exactly on the borderline #3

Open gezmi opened 10 months ago

gezmi commented 10 months ago

Hi,

Thanks for this script! There is one issue that I found: when the value (rarely) is exactly 90, 70 or 50, the residue is not colored. Can you modify this by adding = -s to the right places?

NicoFrL commented 3 months ago

That's a good catch, I noticed this too, it's unfortunate when this happens, as sometimes the pLDDT values match these exact numbers. Instead of using the trick you mentioned (I'm not sure what = -s refers to), I have submitted a pull request with code modifications to address this issue. The updated script now includes these values and ensures they are colored appropriately. Best