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

Merge recent development on devel into master #216

Merged
merged 24 commits into from
Nov 14, 2021

Conversation

amcadmus
Copy link
Member

No description provided.

amcadmus and others added 24 commits July 7, 2021 07:29
* Update dump.py

* Create test_lammps_dump_unfold.py

* Create conf_unfold.dump

* Update dump.py

* Create conf_s_su.dump

* Create test_lammps_dump_s_su.py

* Update dump.py

* Update conf_unfold.dump

* Update dump.py
…#184)

* if cp2k output is not converged, return the sys len = 0

* modify the cp2k output code
1. use fp.seek(0) to avoid open file twice
2. add 'scf run' line in cp2k_output to read the output content, just to
   test the parser.

* add cp2k non converge output unittest

* add unittest for noncon output

* modify the unittest name
* add BondOrderSystem

* add BondOrderSystem

* add BondOrderSystem

* add BondOrderSystem

* add BondOrderSystem

* Update BondOrderSystem

* solve oveall dependency on rdkit

* Add dpdata/rdkit package

* Add information on functions

* Spelling correction

* Add bond order assignment

* Add test cases for bond order assignment

* Add support for AmberTools sqm/out

* Add bond order assignment

* Add support for AmberTools sqm/out

* Creat __init__.py

* Add rdkit & openbabel environment

* Update README.md

* Update test.yml

* Remove non user-friendly warnings

* Update dpdata/rdkit/sanitize.py

Co-authored-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>

* Use obabel python interface

* Update README.md

* Remove dependency on data for MolFormat & SdfFormat

* Support dump multiple conformers for sdf file

* Fix bug of  SetFormalCharge type error

RDKit cannot automatically transfer np.int32 to int

* Add ut for to_sdf_file

* Bug fix of dump to deepmd/raw file

Co-authored-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
* add .github/workflows/mirror_gitee.yml

* add env: ORGANIZATION in mirror_gitee.yml

* Update mirror_gitee.yml
* automatically generate API docs

* Update copyright

Co-authored-by: Han Wang <amcadmus@gmail.com>

Co-authored-by: Han Wang <amcadmus@gmail.com>
…eepmodeling#190)

* add MultiSystem for ASE traj(or any other format can be read by ASE)
fix bug(?) for ASE 'to_labeled_system'

* add unittest
add error type of exception
* add BondOrderSystem

* add BondOrderSystem

* add BondOrderSystem

* add BondOrderSystem

* add BondOrderSystem

* Update BondOrderSystem

* solve oveall dependency on rdkit

* Add dpdata/rdkit package

* Add information on functions

* Spelling correction

* Add bond order assignment

* Add test cases for bond order assignment

* Add support for AmberTools sqm/out

* Add bond order assignment

* Add support for AmberTools sqm/out

* Creat __init__.py

* Add rdkit & openbabel environment

* Update README.md

* Update test.yml

* Remove non user-friendly warnings

* Update dpdata/rdkit/sanitize.py

Co-authored-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>

* Use obabel python interface

* Update README.md

* Remove dependency on data for MolFormat & SdfFormat

* Support dump multiple conformers for sdf file

* Fix bug of  SetFormalCharge type error

RDKit cannot automatically transfer np.int32 to int

* Add ut for to_sdf_file

* Bug fix of dump to deepmd/raw file

* More flexibility to control writing to gro file

Support control resname / add atom index shift when dumping to .gro file

* Support parse sqm.out to LabeledSystem & prepare sqm.in file

Co-authored-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
* add deepmd/hdf5 format

To support deepmodeling/deepmd-kit#1163.

* bugfix

* add an example
* add .github/workflows/mirror_gitee.yml

* implement support for pymatgen.core.Molecule

* implement support for pymatgen.core.Molecule

* Change atom_types in dpdata/pymatgen/molecule.py

* Change doc string in dpdata/plugins/pymatgen.py

* add dpdata/pymatgin to setup.py

* modify molecule.py

* modify molecule.py

* modify molecule.py

* Support of pymatgen.Molecule in dpdata

* Update tests/test_pymatgen_molecule.py

* Moved "remove_pbc" from pymatgen/molecule.py to system.py
* add ABACUS MD interface.

* Update system.py

* Add files via upload
* add ABACUS MD interface.

* Update system.py

* Add files via upload

* Update md.py

* Update md.py
@codecov-commenter
Copy link

codecov-commenter commented Nov 13, 2021

Codecov Report

Merging #216 (f1859eb) into master (ea32d45) will increase coverage by 1.97%.
The diff coverage is 87.89%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #216      +/-   ##
==========================================
+ Coverage   80.07%   82.05%   +1.97%     
==========================================
  Files          54       58       +4     
  Lines        4553     5027     +474     
==========================================
+ Hits         3646     4125     +479     
+ Misses        907      902       -5     
Impacted Files Coverage Δ
dpdata/system.py 80.90% <44.73%> (-0.74%) ⬇️
dpdata/rdkit/utils.py 61.79% <50.00%> (-1.00%) ⬇️
dpdata/plugins/rdkit.py 80.64% <66.66%> (+16.12%) ⬆️
dpdata/plugins/ase.py 65.45% <77.41%> (+46.22%) ⬆️
dpdata/deepmd/hdf5.py 82.66% <82.66%> (ø)
dpdata/plugins/pymatgen.py 85.71% <84.61%> (+59.90%) ⬆️
dpdata/lammps/dump.py 89.83% <87.50%> (-0.39%) ⬇️
dpdata/unit.py 88.15% <88.15%> (ø)
dpdata/bond_order_system.py 64.78% <88.88%> (+3.49%) ⬆️
dpdata/plugins/deepmd.py 93.87% <88.88%> (-6.13%) ⬇️
... and 24 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 ea32d45...f1859eb. Read the comment docs.

@wanghan-iapcm wanghan-iapcm merged commit 1d1084d into deepmodeling:master Nov 14, 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.