Skip to content

Conversation

@jthorton
Copy link
Collaborator

@jthorton jthorton commented Dec 11, 2019

@j-wags j-wags changed the title [WIP] Creat OFF Mols from QCArchive [WIP] Create OFF Mols from QCArchive Dec 11, 2019
@codecov-io
Copy link

codecov-io commented Dec 11, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@5ae3dbc). Click here to learn what that means.
The diff coverage is 91.89%.

…ing, this adds a new classmethod `from_pdb`.

This introduces new functionality for `are_isomorphic` function which now can return an atom_mapping and can match based on user criteria.
This will be useful to refactor `Topology.from_openmm`.
@lgtm-com
Copy link

lgtm-com bot commented Dec 17, 2019

This pull request introduces 1 alert when merging a00f878 into e3a8856 - view on LGTM.com

new alerts:

  • 1 for Unreachable code

…ing, this adds a new classmethod `from_pdb`.

This introduces new functionality for `are_isomorphic` function which now can return an atom_mapping and can match based on user criteria.
This will be useful to refactor `Topology.from_openmm`.

hill_formula implemented
@lgtm-com
Copy link

lgtm-com bot commented Dec 18, 2019

This pull request introduces 1 alert when merging fea5afd into e3a8856 - view on LGTM.com

new alerts:

  • 1 for Unreachable code

…ing, this adds a new classmethod `from_pdb`.

This introduces new functionality for `are_isomorphic` function which now can return an atom_mapping and can match based on user criteria.
This will be useful to refactor `Topology.from_openmm`.

hill_formula implemented

to_qcshema implemented
from mapped_smiles implemented with internal atom ordering remapping.

from qcshema started from cmiles only using an instance.
@lgtm-com
Copy link

lgtm-com bot commented Dec 19, 2019

This pull request introduces 2 alerts when merging 22ebb1d into e3a8856 - view on LGTM.com

new alerts:

  • 1 for Unreachable code
  • 1 for Variable defined multiple times

joshhorton added 3 commits January 3, 2020 11:02
…and remaping tests. Also tweaked the toolkits to get the atom mapping if found and attach it to the moelecule properties dict.
@lgtm-com
Copy link

lgtm-com bot commented Jan 3, 2020

This pull request introduces 1 alert when merging 73cc43c into 7858706 - view on LGTM.com

new alerts:

  • 1 for Variable defined multiple times

…and remaping tests. Also tweaked the toolkits to get the atom mapping if found and attach it to the moelecule properties dict.

envirmoent update for testing
@lgtm-com
Copy link

lgtm-com bot commented Jan 3, 2020

This pull request introduces 1 alert when merging 1d77151 into 7858706 - view on LGTM.com

new alerts:

  • 1 for Variable defined multiple times

@lgtm-com
Copy link

lgtm-com bot commented Jan 31, 2020

This pull request introduces 2 alerts when merging 930ec61 into 5d97594 - view on LGTM.com

new alerts:

  • 1 for Non-iterable used in for loop
  • 1 for Module is imported with 'import' and 'import from'

@lgtm-com
Copy link

lgtm-com bot commented Jan 31, 2020

This pull request introduces 2 alerts when merging 4d6d195 into 5d97594 - view on LGTM.com

new alerts:

  • 1 for Non-iterable used in for loop
  • 1 for Module is imported with 'import' and 'import from'

@j-wags j-wags changed the title [WIP] Create OFF Mols from QCArchive Create OFF Mols from QCArchive Jan 31, 2020
@j-wags j-wags self-requested a review January 31, 2020 20:27
@j-wags j-wags self-assigned this Jan 31, 2020
@lgtm-com
Copy link

lgtm-com bot commented Feb 2, 2020

This pull request introduces 2 alerts when merging 8291506 into 93929c4 - view on LGTM.com

new alerts:

  • 1 for Non-iterable used in for loop
  • 1 for Module is imported with 'import' and 'import from'

Copy link
Member

@j-wags j-wags left a comment

Choose a reason for hiding this comment

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

I am really excited to bring in this functionality, and I didn't realize how much progress you had made until I reviewed the code in full today. This is a massive addition, and you've added some great tests and docs.

Roughly half of the comments here are spelling changes, which you should be able to directly accept (or reject if you don't like them). I've made several suggestions and little comments that aren't blocking, but may be easily resolvable in case I just misunderstood something.

There are only two blocking issues:

  • The notebook shows a molecule energy of 6.6e22. I don't know if this is a unit-conversion thing or a misinterpreted geometry. Let's either fix this or add a comment to the notebook about what unit this is in.
  • I feel strongly that we should make from_mapped_smiles private (_from_mapped_smiles) until we resolve #412 and discuss the extent to which we want to support an atom_map property

Also, we shouldn't merge until all builds on Travis pass. As you pointed out earlier, the notebook tests will fail in the non-RDKit build. Either you or I can fix that by modifying the .travis.yml file to skip that if RDKit isn't installed. Happy to screenshare and do this after the Monday core-devs call

Also, we should update the release notes to talk about all this great new stuff you've added. Writing release notes is great -- it's kind of like writing a discussion section of a paper -- because you get to summarize all the conceptual stuff that you're now an expert in, and talk about how you made different decisions. That can be a separate pre-release PR, and I'm happy to do it if you aren't interested.

@lgtm-com
Copy link

lgtm-com bot commented Feb 3, 2020

This pull request introduces 2 alerts when merging 11fd6f1 into 93929c4 - view on LGTM.com

new alerts:

  • 1 for Non-iterable used in for loop
  • 1 for Module is imported with 'import' and 'import from'

@lgtm-com
Copy link

lgtm-com bot commented Feb 3, 2020

This pull request introduces 2 alerts when merging d5649b8 into 93929c4 - view on LGTM.com

new alerts:

  • 1 for Non-iterable used in for loop
  • 1 for Module is imported with 'import' and 'import from'

@j-wags j-wags self-requested a review February 4, 2020 19:59
Copy link
Member

@j-wags j-wags left a comment

Choose a reason for hiding this comment

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

Will be busy for the next few days, so I'm approving this now. Feel free to merge when

  • the notebook energy thing is resolved
  • tests pass
  • LGTM stops complaining

joshhorton added 2 commits February 5, 2020 10:30
…and made canonical order tests match between toolkits.
…ield into mol_from_qca

Conflicts:
	openforcefield/topology/molecule.py
@jthorton
Copy link
Collaborator Author

jthorton commented Feb 5, 2020

The large notebook energy was due to an incorrect unit conversion in QCEngine which will be fixed with this PR, for now, I use RDKit and explain what units the energy is returned in. One of the LGTM errors about the Non-iterable is not something I have changed so not sure what is going on there. Just waiting on tests now.

@lgtm-com
Copy link

lgtm-com bot commented Feb 5, 2020

This pull request introduces 1 alert and fixes 1 when merging 65a1073 into 417886f - view on LGTM.com

new alerts:

  • 1 for Non-iterable used in for loop

fixed alerts:

  • 1 for Suspicious unused loop iteration variable

@jthorton
Copy link
Collaborator Author

jthorton commented Feb 5, 2020

Any idea why LGTM JavaScript is failing? @j-wags

@lgtm-com
Copy link

lgtm-com bot commented Feb 5, 2020

This pull request introduces 1 alert and fixes 1 when merging 83da5e5 into 417886f - view on LGTM.com

new alerts:

  • 1 for Non-iterable used in for loop

fixed alerts:

  • 1 for Suspicious unused loop iteration variable

@j-wags
Copy link
Member

j-wags commented Feb 6, 2020

No clue. We don't have Javascript AFAIK. This is a LGTM problem. Feel free to merge, this is not blocking.

@jthorton jthorton merged commit ee0f715 into master Feb 6, 2020
@j-wags j-wags added this to the 0.7.0 milestone Feb 14, 2020
@j-wags j-wags deleted the mol_from_qca branch February 18, 2020 02:57
@j-wags j-wags mentioned this pull request Mar 31, 2021
5 tasks
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.

Add functionality to create OFFMol from QCAMol Add functionality to create OFFMols with specific indexing RDMol stereochemistry detector too strict

8 participants