-
Notifications
You must be signed in to change notification settings - Fork 8
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
code and unit test for salt bridge tool #121
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some more feedback for your salt bridge tool. Let me know if you have questions!
…altbridge_code
this branch has some conflicts -- can you resolve it? (see "Resolve conflicts" below). I think it's from merging main after we organize tools in alphabetical order. |
I initially thought it was a conflict due to alphabetic order, fixed that and passed the local pytest. It seems like there is a conflict due to these errors. I do not think I have touched those files, so I am uncertain how to resolve this yet. Ill look into this and see what I can do. FAILED tests/test_preprocess/test_packing.py::test_packmol_validate_input_missing_info - UnboundLocalError: cannot access local variable 'mol_name' where it is not associated with a value |
It is ready and fixed after some polishing ups. Can someone please review it so I can see my very first tool officially joining the club? 🥇 |
@brittyscience is this ready for review? |
…altbridge_code
self.salt_bridges = [] # stores paired salt bridges | ||
self.traj = None | ||
|
||
def find_salt_bridges( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this function might be easier to test if you break it up into some sub-functions
…saltbridge_code
Co-authored-by: Sam Cox <[email protected]>
Co-authored-by: Sam Cox <[email protected]>
Co-authored-by: Sam Cox <[email protected]>
A fair warning, this branch failed commit, I told it to ignore the pre commit hooks so I can get the code pushed to git hub. This tool is still a work in progress.