Skip to content

Add support for AmberTools sqm/out and BondOrderSystem#157

Merged
amcadmus merged 25 commits into
deepmodeling:develfrom
Ericwang6:devel
May 20, 2021
Merged

Add support for AmberTools sqm/out and BondOrderSystem#157
amcadmus merged 25 commits into
deepmodeling:develfrom
Ericwang6:devel

Conversation

@Ericwang6

Copy link
Copy Markdown
Member
  1. Add support for AmberTools sqm output file (a quantum-chemistry software in AmberTools, mainly for AM1-BCC charge calculation)
  2. Add BondOrderSystem class, support to read from .mol/.sdf file or rdkit.Chem.Mol object.

@njzjz njzjz closed this May 18, 2021
@njzjz njzjz reopened this May 18, 2021
Comment thread dpdata/__init__.py Outdated
Comment thread .github/workflows/test.yml
activate-environment: ""
# install rdkit and openbabel
- name: Install rdkit
run: conda create -c conda-forge -n my-rdkit-env python=${{ matrix.python-version }} rdkit openbabel;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You may consider to install https://pypi.org/project/rdkit-pypi/, it should be faster than conda install. Although it is not an official package, we just use it to test the package.
See rdkit/rdkit#1812.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I'll see this. But we still have dependency on obabel, which needs conda to install.

@codecov-commenter

codecov-commenter commented May 19, 2021

Copy link
Copy Markdown

Codecov Report

Merging #157 (64d7e47) into devel (1766b56) will decrease coverage by 5.26%.
The diff coverage is 52.93%.

Impacted file tree graph

@@            Coverage Diff             @@
##            devel     #157      +/-   ##
==========================================
- Coverage   84.56%   79.30%   -5.27%     
==========================================
  Files          29       33       +4     
  Lines        3485     4184     +699     
==========================================
+ Hits         2947     3318     +371     
- Misses        538      866     +328     
Impacted Files Coverage Δ
dpdata/rdkit/sanitize.py 43.71% <43.71%> (ø)
dpdata/bond_order_system.py 61.25% <61.25%> (ø)
dpdata/rdkit/utils.py 62.79% <62.79%> (ø)
dpdata/__init__.py 88.23% <71.42%> (-11.77%) ⬇️
dpdata/amber/sqm.py 100.00% <100.00%> (ø)
dpdata/deepmd/comp.py 97.05% <100.00%> (+0.12%) ⬆️
dpdata/deepmd/raw.py 94.28% <100.00%> (+0.34%) ⬆️
dpdata/system.py 80.50% <100.00%> (+0.18%) ⬆️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1766b56...64d7e47. Read the comment docs.

Comment thread dpdata/rdkit/sanitize.py Outdated
Ericwang6 and others added 2 commits May 19, 2021 14:51
Co-authored-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@amcadmus amcadmus requested a review from njzjz May 19, 2021 15:32
@Ericwang6 Ericwang6 requested review from amcadmus and njzjz May 20, 2021 03:17
@amcadmus amcadmus merged commit 19e08df into deepmodeling:devel May 20, 2021
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.

4 participants