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

Orphaned TopologyParticle? #651

Closed
mattwthompson opened this issue Jul 15, 2020 · 1 comment · Fixed by #548
Closed

Orphaned TopologyParticle? #651

mattwthompson opened this issue Jul 15, 2020 · 1 comment · Fixed by #548

Comments

@mattwthompson
Copy link
Member

There is a TopologyMolecule.particle method that attempts to return instances of TopologyParticle, which is never defined in the current codebase. ([Not tested], and that's probably for the better)

(openff-dev) [openforcefield] grep -R "class Topology" .                                                                                                       ci-lint  ✭ ✱
./openforcefield/topology/topology.py:class TopologyAtom(Serializable):
./openforcefield/topology/topology.py:class TopologyBond(Serializable):
./openforcefield/topology/topology.py:class TopologyVirtualSite(Serializable):
./openforcefield/topology/topology.py:class TopologyMolecule:
./openforcefield/topology/topology.py:class Topology(Serializable):
(openff-dev) [openforcefield] grep -R "class TopologyParticle" .                                                                                               ci-lint  ✭ ✱

My other guess, that it's something @trevorgokey is working on in #548, didn't bear any fruit.

There's some history (#233, #235) so I figure it may have just slipped through the cracks? I will remove this if there are not immediate plans for it.

@trevorgokey
Copy link
Collaborator

trevorgokey commented Jul 15, 2020

Thanks for pointing this out. Go ahead and leave it there; I will modify it to work with the virtual site PR (#548). I currently have a class TopologyVirtualParticle(TopologyVirtualSite) in the implementation, so a TopologyParticle seems intuitive to have (even though I never had to use this missing functionality).

@trevorgokey trevorgokey linked a pull request Sep 5, 2020 that will close this issue
7 tasks
@trevorgokey trevorgokey mentioned this issue Oct 9, 2020
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants