Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Deprecate guess_bonds and bond guessing kwargs in Universe #4757
Deprecate guess_bonds and bond guessing kwargs in Universe #4757
Changes from 2 commits
9914b98
ed8f791
311d43b
78056eb
d351903
8465031
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
add a
under each of the deprecated keyword args
fudge_factor
,vdwradii
,lower_bound
. Link toContext
docs andguess_TopologyAttrs
.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.
Be specific about where the kwargs should go, either Context or guess_TopologyAttrs.
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.
A few extra thoughts:
['bonds', 'angles', 'dihedrals']
is important because later attributes depend on the earlier ones. We may want to implement a function that automatically reorders the guessing sequence to ensure proper dependencies are respected?2. The correct usage should be
force_guess=['bonds', 'angles', 'dihedrals']
instead ofto_guess
. Refer to Unclear Error When Using to_guess=['bonds'] with Existing Bonds in Topology #4759There 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.
I think the connectivity topology attrs do have dependencies built in, happily -- there's an existing test that guesses angles without bonds (
mdanalysis/testsuite/MDAnalysisTests/guesser/test_default_guesser.py
Lines 167 to 173 in d2729f7
vdwradii
, etc. keywords used to control bond guessing though.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.
Added in #4761