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

Remove features deprecated in v3.x. #1496

Merged
merged 7 commits into from Feb 17, 2023
Merged

Conversation

joaander
Copy link
Member

Description

Remove features deprecated in v3.x.

Motivation and context

Follow through on our promise to remove these non-functional or not needed features.

How has this been tested?

I updated the CI tests and checked that the removed features are not present in the documentation.

Change log

Removed:

* ``charges`` key in ``hoomd.md.constrain.Rigid.body``.
* ``diameter`` key in ``hoomd.md.constrain.Rigid.body``.
* ``hoomd.md.dihedral.Harmonic``.
* ``hoomd.device.GPU.memory_traceback parameter``.
* ``hoomd.md.pair.aniso.Dipole.mode`` parameter.
* ``hoomd.md.pair.aniso.ALJ.mode`` parameter

Checklist:

@joaander joaander requested review from a team as code owners February 15, 2023 21:28
@joaander joaander requested review from tommy-waltmann and shihkual and removed request for a team February 15, 2023 21:28
@joaander joaander added the validate Execute long running validation tests on pull requests label Feb 15, 2023
Copy link
Contributor

@tommy-waltmann tommy-waltmann left a comment

Choose a reason for hiding this comment

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

I just have one small change and one thought to consider.

hoomd/md/pytest/test_dihedral.py Outdated Show resolved Hide resolved
hoomd/md/constrain.py Show resolved Hide resolved
Copy link
Contributor

@tommy-waltmann tommy-waltmann left a comment

Choose a reason for hiding this comment

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

The examples in the docstring for the constrain.Rigid class still use the charges and diameter keys in the body property.

Copy link
Contributor

@tommy-waltmann tommy-waltmann left a comment

Choose a reason for hiding this comment

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

One last small thing before merging.

particle position and orientations in body coordinates (see `body`). Then,
`Rigid` takes control of the constituent particles and sets their position
and orientation in the simulation box relative to the position and
particles. For each rigid body particle type, you set the constituent
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
particles. For each rigid body particle type, you set the constituent
particles. For each rigid body particle type, set the constituent

Try to stay away from using the word "you" in documentation if possible.

Copy link
Member Author

Choose a reason for hiding this comment

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

OK, I did so in Rigid. Fixing the rest of the documentation is far beyond the scope intended for this pull request.

Copy link
Contributor

@tommy-waltmann tommy-waltmann left a comment

Choose a reason for hiding this comment

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

LGTM

@joaander joaander merged commit a20da01 into trunk-major Feb 17, 2023
@joaander joaander deleted the remove-deprecated-features branch February 17, 2023 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
validate Execute long running validation tests on pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants