SyntaxError using PyMol #443
Unanswered
TheFossilFreak
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm new to PyMol and have been able to get PDB data to display, however, whenever I try to integrate data from propka I get "SyntaxError: invalid decimal literal". I'm unsure how to fix this as the PDB data is given as a sequential series of numbers and letters and thus having spaces would invalidate the PDBID. I'm currently trying to display the acidity of the miotes in the protein 1q8h (osteocalcin), similar to what can be found on the PDB "molecule of the month" page (https://pdb101.rcsb.org/motm/232). I've included a screenshot below of the error.
I'm able to get the propka function data to run and output pKa estimations (see image below) via a seperate instance of python outside PyMol, but am then unable to import that data into PyMol. The PyMol python interface does not seem to be recognising code that works fine in regular python.
Many thanks for your assistance.
Beta Was this translation helpful? Give feedback.
All reactions