-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken JSON export for molprobity angle restraints #1021
Comments
I have checked in a tentative fix for this bug. Give it a try and let me know if you still have an issue. |
@vbchen, the fix seems to work. i've tested it on several entries. thanks! However, in the process, I encountered another JSON export issue, now with bonds: If there are no outliers, the code throws an exception:
while
should I create a new issue, or can we continue with this one? |
Hmm, OK, I'll look into it. I appreciate you bringing these issues to my attention, the JSON export features are fairly new so it's good for them to get tested in real world situations. |
thank you! i'm very interested in the json output and happy to test/provide feedback. we use molprobity as part of the PDB-Dev validation pipeline (to assess the quality of atomic models), and i'd be happy to switch to json outputs and get rid of some legacy code for capturing and parsing text molprobity output that we are using right now. and sorry for only reporting issues without providing pull-requests. i'd love to contribute, but not familiar enough with the codebase. |
I have checked in fixes for the issues you found with files with no bond/angle outliers. I wanted to let you know that we've noticed some inconsistencies with the json outputs between the different validation scripts, so we'll be going through and fixing some of those issues. Let me know if you have any issues or opinions on how they should be formatted or if there's any missing information. |
Thank you, @vbchen. I'll do some tests over the weekend and will let you know. |
restraints.angles.as_JSON()
throws error. Steps to reproduce:Molprobity Internal Version (from core.php): 4.5.2
molprobity_version_number
(from pickled output): (4, 1)The text was updated successfully, but these errors were encountered: