Skip to content
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

make show_contacts.py work with JSON output #8

Closed

Conversation

reneeotten
Copy link

This main purpose of this PR is to update the show_contacts.py helpers script so that it can use the new JSON output generated by this version of arpeggio. These changes are in the last two commits; I think I migrated everything correctly but as usual there are no guarantees ;)

Along the way I fixed a few other issue I came across in addition to some codestyle changes (e.g., sorting imports) and refactoring (running pyupgrade, removing OrderedDict, etcetera). If you accept those, the minimum required Python version will be 3.7; I update the README already for this and documented the requirement for OpenBabel v2.x..

- require Python 3.7+ (dictionaries are ordered)
- update README.md with version information for dependencies
This information is needed for displaying the contacts in PyMOL.
- accept the new JSON output from Arpeggio to generate the .pml file
- add selection arguments for showing the interactions
@reneeotten
Copy link
Author

small update: the initial show_contacts.py script wasn't the final-final version (apologies for that); this one will show all contacts and the option to select for which residues to show the interaction was added (same syntax as used in Arpeggio).

@reneeotten
Copy link
Author

there is clearly no interest in this, so I'm closing the PR.

@reneeotten reneeotten closed this Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant