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

Use utility functions in jsonutils to fix #151 #257

Merged
merged 3 commits into from
Dec 4, 2024

Conversation

rwxayheee
Copy link
Contributor

@rwxayheee rwxayheee commented Nov 30, 2024

This is for #151. Used existing utility functions in jsonutils, tuple_to_string and string_to_tuple to enable encoding and decoding of rotamers data of rotamers data for MoleculeSetup and dihedral_partaking_atoms and dihedral_labels for RDKitMoleculeSetup.

@diogomart Could you please review the fixes and let me know if they work as expected? Additionally, I would like to become more familiar with parameter passing, if we might want to store Amber (and other) force field parameters in the future. This is not urgent, please feel free to advise at your convenience

and tuple_to_string to fix dihedral (tuple of ints) as key problem in json
@rwxayheee rwxayheee requested a review from diogomart November 30, 2024 05:58
@rwxayheee rwxayheee changed the base branch from release to develop December 1, 2024 02:46
@diogomart diogomart changed the base branch from develop to release December 2, 2024 22:42
@diogomart diogomart changed the base branch from release to develop December 2, 2024 22:43
Copy link
Contributor

@diogomart diogomart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks! Added a test.

@diogomart diogomart merged commit 1cd72eb into forlilab:develop Dec 4, 2024
1 check passed
@rwxayheee rwxayheee deleted the dihedrals_to_JSON branch December 4, 2024 21:48
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.

2 participants