dpdata 0.2.16__tar.gz → 0.2.18__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dpdata-0.2.18/.github/ISSUE_TEMPLATE/bug_report.yml +49 -0
- dpdata-0.2.18/.github/ISSUE_TEMPLATE/config.yml +5 -0
- dpdata-0.2.18/.github/ISSUE_TEMPLATE/feature_request.yml +33 -0
- dpdata-0.2.18/.github/ISSUE_TEMPLATE/generic-issue.yml +39 -0
- dpdata-0.2.18/.github/dependabot.yml +7 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/.github/workflows/test.yml +4 -2
- {dpdata-0.2.16 → dpdata-0.2.18}/.gitignore +1 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/.pre-commit-config.yaml +5 -6
- {dpdata-0.2.16 → dpdata-0.2.18}/.readthedocs.yaml +3 -4
- dpdata-0.2.18/MANIFEST.in +3 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/PKG-INFO +8 -3
- {dpdata-0.2.16 → dpdata-0.2.18}/README.md +5 -2
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/__init__.py +13 -0
- dpdata-0.2.18/dpdata/_version.py +16 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/abacus/relax.py +20 -20
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/abacus/scf.py +102 -22
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/amber/mask.py +1 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/amber/md.py +3 -3
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/cli.py +1 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/cp2k/output.py +9 -3
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/deepmd/hdf5.py +10 -5
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/deepmd/mixed.py +17 -1
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/driver.py +3 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/format.py +1 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/gaussian/log.py +27 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/lammps/dump.py +2 -2
- dpdata-0.2.18/dpdata/openmx/omx.py +216 -0
- dpdata-0.2.18/dpdata/orca/output.py +64 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/plugin.py +3 -3
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/plugins/ase.py +111 -1
- dpdata-0.2.18/dpdata/plugins/cp2k.py +51 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/plugins/deepmd.py +14 -10
- dpdata-0.2.18/dpdata/plugins/n2p2.py +195 -0
- dpdata-0.2.18/dpdata/plugins/openmx.py +70 -0
- dpdata-0.2.16/dpdata/plugins/psi4.py → dpdata-0.2.18/dpdata/plugins/orca.py +8 -9
- dpdata-0.2.18/dpdata/plugins/psi4.py +102 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/plugins/qe.py +3 -1
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/plugins/vasp.py +7 -5
- dpdata-0.2.18/dpdata/psi4/input.py +57 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/psi4/output.py +9 -1
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/pwmat/movement.py +2 -2
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/qe/scf.py +7 -4
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/system.py +60 -11
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/utils.py +5 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/vasp/outcar.py +6 -1
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/vasp/xml.py +8 -15
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/xyz/quip_gap_xyz.py +1 -3
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata.egg-info/PKG-INFO +8 -3
- dpdata-0.2.18/dpdata.egg-info/SOURCES.txt +124 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata.egg-info/requires.txt +2 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/pyproject.toml +6 -2
- dpdata-0.2.16/.github/ISSUE_TEMPLATE/bug_report.md +0 -25
- dpdata-0.2.16/.github/ISSUE_TEMPLATE/feature_request.md +0 -21
- dpdata-0.2.16/.github/ISSUE_TEMPLATE/generic-issue.md +0 -17
- dpdata-0.2.16/.github/ISSUE_TEMPLATE/request-for-help.md +0 -21
- dpdata-0.2.16/docs/Makefile +0 -20
- dpdata-0.2.16/docs/cli.rst +0 -7
- dpdata-0.2.16/docs/conf.py +0 -204
- dpdata-0.2.16/docs/credits.rst +0 -4
- dpdata-0.2.16/docs/drivers.rst +0 -8
- dpdata-0.2.16/docs/formats.rst +0 -15
- dpdata-0.2.16/docs/index.rst +0 -29
- dpdata-0.2.16/docs/make_format.py +0 -386
- dpdata-0.2.16/docs/minimizers.rst +0 -8
- dpdata-0.2.16/docs/requirements.txt +0 -1
- dpdata-0.2.16/dpdata/_version.py +0 -4
- dpdata-0.2.16/dpdata/plugins/cp2k.py +0 -32
- dpdata-0.2.16/dpdata.egg-info/SOURCES.txt +0 -606
- dpdata-0.2.16/plugin_example/README.md +0 -25
- dpdata-0.2.16/plugin_example/dpdata_random/__init__.py +0 -32
- dpdata-0.2.16/plugin_example/pyproject.toml +0 -16
- dpdata-0.2.16/tests/.coverage +0 -0
- dpdata-0.2.16/tests/POSCAR +0 -17
- dpdata-0.2.16/tests/abacus.md/INPUT +0 -42
- dpdata-0.2.16/tests/abacus.md/OUT.abacus/MD_dump +0 -80
- dpdata-0.2.16/tests/abacus.md/OUT.abacus/running_md.log +0 -2284
- dpdata-0.2.16/tests/abacus.md/STRU +0 -32
- dpdata-0.2.16/tests/abacus.md/water_coord +0 -15
- dpdata-0.2.16/tests/abacus.md/water_force +0 -15
- dpdata-0.2.16/tests/abacus.md/water_virial +0 -15
- dpdata-0.2.16/tests/abacus.md.newversion/INPUT +0 -37
- dpdata-0.2.16/tests/abacus.md.newversion/OUT.Sn_nve/MD_dump +0 -847
- dpdata-0.2.16/tests/abacus.md.newversion/OUT.Sn_nve/running_md.log +0 -2954
- dpdata-0.2.16/tests/abacus.md.newversion/STRU +0 -84
- dpdata-0.2.16/tests/abacus.md.newversion/coord.ref +0 -704
- dpdata-0.2.16/tests/abacus.md.newversion/force.ref +0 -704
- dpdata-0.2.16/tests/abacus.md.newversion/virial.ref +0 -33
- dpdata-0.2.16/tests/abacus.md.nostress/INPUT +0 -26
- dpdata-0.2.16/tests/abacus.md.nostress/OUT.autotest/MD_dump +0 -44
- dpdata-0.2.16/tests/abacus.md.nostress/OUT.autotest/running_md.log +0 -527
- dpdata-0.2.16/tests/abacus.md.nostress/STRU +0 -19
- dpdata-0.2.16/tests/abacus.md.nostress/Si_coord +0 -8
- dpdata-0.2.16/tests/abacus.md.nostress/Si_force +0 -8
- dpdata-0.2.16/tests/abacus.md.unconv/INPUT +0 -29
- dpdata-0.2.16/tests/abacus.md.unconv/OUT.ABACUS/MD_dump +0 -176
- dpdata-0.2.16/tests/abacus.md.unconv/OUT.ABACUS/running_md.log +0 -5035
- dpdata-0.2.16/tests/abacus.md.unconv/STRU +0 -30
- dpdata-0.2.16/tests/abacus.md.unconv/water_coord +0 -30
- dpdata-0.2.16/tests/abacus.md.unconv/water_force +0 -30
- dpdata-0.2.16/tests/abacus.md.unconv/water_virial +0 -30
- dpdata-0.2.16/tests/abacus.relax/INPUT +0 -28
- dpdata-0.2.16/tests/abacus.relax/KPT +0 -4
- dpdata-0.2.16/tests/abacus.relax/OUT.abacus/INPUT +0 -250
- dpdata-0.2.16/tests/abacus.relax/OUT.abacus/STRU_ION_D +0 -25
- dpdata-0.2.16/tests/abacus.relax/OUT.abacus/STRU_READIN_ADJUST.cif +0 -22
- dpdata-0.2.16/tests/abacus.relax/OUT.abacus/running_cell-relax.log.abnormal +0 -1186
- dpdata-0.2.16/tests/abacus.relax/OUT.abacus/running_cell-relax.log.normal +0 -1187
- dpdata-0.2.16/tests/abacus.relax/STRU +0 -29
- dpdata-0.2.16/tests/abacus.relax/coord.ref +0 -15
- dpdata-0.2.16/tests/abacus.relax/force.ref +0 -15
- dpdata-0.2.16/tests/abacus.relax/stress.ref +0 -15
- dpdata-0.2.16/tests/abacus.relax/virial.ref +0 -15
- dpdata-0.2.16/tests/abacus.scf/INPUT.fail +0 -17
- dpdata-0.2.16/tests/abacus.scf/INPUT.ok +0 -17
- dpdata-0.2.16/tests/abacus.scf/OUT.ch4/running_scf.log +0 -599
- dpdata-0.2.16/tests/abacus.scf/OUT.ch4fail/running_scf.log +0 -598
- dpdata-0.2.16/tests/abacus.scf/STRU.ch4 +0 -28
- dpdata-0.2.16/tests/abacus.scf/ch4_coord +0 -5
- dpdata-0.2.16/tests/abacus.scf/ch4_force +0 -5
- dpdata-0.2.16/tests/abacus.scf/ch4_virial +0 -3
- dpdata-0.2.16/tests/abacus.scf/stru_test +0 -32
- dpdata-0.2.16/tests/amber/02_Heat.mden +0 -110
- dpdata-0.2.16/tests/amber/02_Heat.mdfrc +0 -0
- dpdata-0.2.16/tests/amber/02_Heat.nc +0 -0
- dpdata-0.2.16/tests/amber/02_Heat.parm7 +0 -3991
- dpdata-0.2.16/tests/amber/corr/dataset/C6H11HW192O6OW96P1/set.000/box.npy +0 -0
- dpdata-0.2.16/tests/amber/corr/dataset/C6H11HW192O6OW96P1/set.000/coord.npy +0 -0
- dpdata-0.2.16/tests/amber/corr/dataset/C6H11HW192O6OW96P1/set.000/energy.npy +0 -0
- dpdata-0.2.16/tests/amber/corr/dataset/C6H11HW192O6OW96P1/set.000/force.npy +0 -0
- dpdata-0.2.16/tests/amber/corr/dataset/C6H11HW192O6OW96P1/type.raw +0 -312
- dpdata-0.2.16/tests/amber/corr/dataset/C6H11HW192O6OW96P1/type_map.raw +0 -6
- dpdata-0.2.16/tests/amber/corr/dp_amber_mask/C6EP0H11HW192O6OW96P1/set.000/box.npy +0 -0
- dpdata-0.2.16/tests/amber/corr/dp_amber_mask/C6EP0H11HW192O6OW96P1/set.000/coord.npy +0 -0
- dpdata-0.2.16/tests/amber/corr/dp_amber_mask/C6EP0H11HW192O6OW96P1/set.000/energy.npy +0 -0
- dpdata-0.2.16/tests/amber/corr/dp_amber_mask/C6EP0H11HW192O6OW96P1/set.000/force.npy +0 -0
- dpdata-0.2.16/tests/amber/corr/dp_amber_mask/C6EP0H11HW192O6OW96P1/type.raw +0 -312
- dpdata-0.2.16/tests/amber/corr/dp_amber_mask/C6EP0H11HW192O6OW96P1/type_map.raw +0 -7
- dpdata-0.2.16/tests/amber/corr/dp_corr/set.000/box.npy +0 -0
- dpdata-0.2.16/tests/amber/corr/dp_corr/set.000/coord.npy +0 -0
- dpdata-0.2.16/tests/amber/corr/dp_corr/set.000/energy.npy +0 -0
- dpdata-0.2.16/tests/amber/corr/dp_corr/set.000/force.npy +0 -0
- dpdata-0.2.16/tests/amber/corr/dp_corr/type.raw +0 -6064
- dpdata-0.2.16/tests/amber/corr/dp_corr/type_map.raw +0 -7
- dpdata-0.2.16/tests/amber/corr/dp_hl/set.000/box.npy +0 -0
- dpdata-0.2.16/tests/amber/corr/dp_hl/set.000/coord.npy +0 -0
- dpdata-0.2.16/tests/amber/corr/dp_hl/set.000/energy.npy +0 -0
- dpdata-0.2.16/tests/amber/corr/dp_hl/set.000/force.npy +0 -0
- dpdata-0.2.16/tests/amber/corr/dp_hl/type.raw +0 -6064
- dpdata-0.2.16/tests/amber/corr/dp_hl/type_map.raw +0 -7
- dpdata-0.2.16/tests/amber/corr/dp_ll/set.000/box.npy +0 -0
- dpdata-0.2.16/tests/amber/corr/dp_ll/set.000/coord.npy +0 -0
- dpdata-0.2.16/tests/amber/corr/dp_ll/set.000/energy.npy +0 -0
- dpdata-0.2.16/tests/amber/corr/dp_ll/set.000/force.npy +0 -0
- dpdata-0.2.16/tests/amber/corr/dp_ll/type.raw +0 -6064
- dpdata-0.2.16/tests/amber/corr/dp_ll/type_map.raw +0 -7
- dpdata-0.2.16/tests/amber/corr/high_level.mdfrc +0 -0
- dpdata-0.2.16/tests/amber/corr/high_level.mdout +0 -500
- dpdata-0.2.16/tests/amber/corr/low_level.mdfrc +0 -0
- dpdata-0.2.16/tests/amber/corr/low_level.mdout +0 -508
- dpdata-0.2.16/tests/amber/corr/qmmm.parm7 +0 -12895
- dpdata-0.2.16/tests/amber/corr/rc.nc +0 -0
- dpdata-0.2.16/tests/amber/methane.mol +0 -14
- dpdata-0.2.16/tests/amber/sqm.in +0 -12
- dpdata-0.2.16/tests/amber/sqm_forces.out +0 -392
- dpdata-0.2.16/tests/amber/sqm_no_forces.out +0 -138
- dpdata-0.2.16/tests/amber/sqm_opt.out +0 -771
- dpdata-0.2.16/tests/ase_traj/Al0He4O0/box.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al0He4O0/coord.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al0He4O0/energy.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al0He4O0/force.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al0He4O0/type.raw +0 -4
- dpdata-0.2.16/tests/ase_traj/Al0He4O0/type_map.raw +0 -3
- dpdata-0.2.16/tests/ase_traj/Al0He4O0/virial.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al2He1O3/box.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al2He1O3/coord.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al2He1O3/energy.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al2He1O3/force.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al2He1O3/type.raw +0 -6
- dpdata-0.2.16/tests/ase_traj/Al2He1O3/type_map.raw +0 -3
- dpdata-0.2.16/tests/ase_traj/Al2He1O3/virial.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al2He2O3/box.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al2He2O3/coord.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al2He2O3/energy.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al2He2O3/force.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al2He2O3/type.raw +0 -7
- dpdata-0.2.16/tests/ase_traj/Al2He2O3/type_map.raw +0 -3
- dpdata-0.2.16/tests/ase_traj/Al2He2O3/virial.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al4He0O6/box.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al4He0O6/coord.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al4He0O6/energy.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al4He0O6/force.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al4He0O6/type.raw +0 -10
- dpdata-0.2.16/tests/ase_traj/Al4He0O6/type_map.raw +0 -3
- dpdata-0.2.16/tests/ase_traj/Al4He0O6/virial.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al4He2O6/box.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al4He2O6/coord.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al4He2O6/energy.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al4He2O6/force.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al4He2O6/type.raw +0 -12
- dpdata-0.2.16/tests/ase_traj/Al4He2O6/type_map.raw +0 -3
- dpdata-0.2.16/tests/ase_traj/Al4He2O6/virial.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al4He4O6/box.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al4He4O6/coord.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al4He4O6/energy.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al4He4O6/force.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al4He4O6/type.raw +0 -14
- dpdata-0.2.16/tests/ase_traj/Al4He4O6/type_map.raw +0 -3
- dpdata-0.2.16/tests/ase_traj/Al4He4O6/virial.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al8He0O12/box.raw +0 -3
- dpdata-0.2.16/tests/ase_traj/Al8He0O12/coord.raw +0 -3
- dpdata-0.2.16/tests/ase_traj/Al8He0O12/energy.raw +0 -3
- dpdata-0.2.16/tests/ase_traj/Al8He0O12/force.raw +0 -3
- dpdata-0.2.16/tests/ase_traj/Al8He0O12/type.raw +0 -20
- dpdata-0.2.16/tests/ase_traj/Al8He0O12/type_map.raw +0 -3
- dpdata-0.2.16/tests/ase_traj/Al8He0O12/virial.raw +0 -3
- dpdata-0.2.16/tests/ase_traj/Al8He4O12/box.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al8He4O12/coord.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al8He4O12/energy.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al8He4O12/force.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al8He4O12/type.raw +0 -24
- dpdata-0.2.16/tests/ase_traj/Al8He4O12/type_map.raw +0 -3
- dpdata-0.2.16/tests/ase_traj/Al8He4O12/virial.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al8He8O12/box.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al8He8O12/coord.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al8He8O12/energy.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al8He8O12/force.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/Al8He8O12/type.raw +0 -28
- dpdata-0.2.16/tests/ase_traj/Al8He8O12/type_map.raw +0 -3
- dpdata-0.2.16/tests/ase_traj/Al8He8O12/virial.raw +0 -1
- dpdata-0.2.16/tests/ase_traj/HeAlO.traj +0 -0
- dpdata-0.2.16/tests/bond_order/BOH4-.mol +0 -22
- dpdata-0.2.16/tests/bond_order/C5H5-.mol +0 -25
- dpdata-0.2.16/tests/bond_order/CH3CC-.mol +0 -16
- dpdata-0.2.16/tests/bond_order/CH3NC.mol +0 -16
- dpdata-0.2.16/tests/bond_order/CH3NH3+.mol +0 -20
- dpdata-0.2.16/tests/bond_order/CH3NO2.mol +0 -18
- dpdata-0.2.16/tests/bond_order/CH3OAsO3_2-.mol +0 -22
- dpdata-0.2.16/tests/bond_order/CH3OH.mol +0 -16
- dpdata-0.2.16/tests/bond_order/CH3OPO3_2-.mol +0 -22
- dpdata-0.2.16/tests/bond_order/CH3PH3+.mol +0 -20
- dpdata-0.2.16/tests/bond_order/CH3SH.mol +0 -16
- dpdata-0.2.16/tests/bond_order/CH3SO3-.mol +0 -20
- dpdata-0.2.16/tests/bond_order/CH3_2SO.mol +0 -24
- dpdata-0.2.16/tests/bond_order/CH3_2SO2.mol +0 -26
- dpdata-0.2.16/tests/bond_order/OCH3+.mol +0 -30
- dpdata-0.2.16/tests/bond_order/arg.mol +0 -30
- dpdata-0.2.16/tests/bond_order/formal_charge.mol +0 -111
- dpdata-0.2.16/tests/bond_order/gly.mol +0 -24
- dpdata-0.2.16/tests/bond_order/methane.sdf +0 -60
- dpdata-0.2.16/tests/bond_order/methane_ethane.sdf +0 -72
- dpdata-0.2.16/tests/bond_order/oxpy.mol +0 -29
- dpdata-0.2.16/tests/bond_order/refined-set-ligands/obabel/1a4r_ligand_obabel.sdf +0 -107
- dpdata-0.2.16/tests/bond_order/refined-set-ligands/obabel/1ai5_ligand_obabel.sdf +0 -60
- dpdata-0.2.16/tests/bond_order/refined-set-ligands/obabel/1f5l_ligand_obabel.sdf +0 -70
- dpdata-0.2.16/tests/bond_order/refined-set-ligands/obabel/1m1b_ligand_obabel.sdf +0 -45
- dpdata-0.2.16/tests/bond_order/refined-set-ligands/obabel/1mue_ligand_obabel.sdf +0 -121
- dpdata-0.2.16/tests/bond_order/refined-set-ligands/obabel/1w4q_ligand_obabel.sdf +0 -84
- dpdata-0.2.16/tests/bond_order/refined-set-ligands/obabel/2e94_ligand_obabel.sdf +0 -113
- dpdata-0.2.16/tests/bond_order/refined-set-ligands/obabel/4xaq_ligand_obabel.sdf +0 -69
- dpdata-0.2.16/tests/bond_order/refined-set-ligands/obabel/4xtw_ligand_obabel.sdf +0 -161
- dpdata-0.2.16/tests/bond_order/refined-set-ligands/origin/1a4r_ligand.sdf +0 -107
- dpdata-0.2.16/tests/bond_order/refined-set-ligands/origin/1ai5_ligand.sdf +0 -59
- dpdata-0.2.16/tests/bond_order/refined-set-ligands/origin/1f5l_ligand.sdf +0 -69
- dpdata-0.2.16/tests/bond_order/refined-set-ligands/origin/1m1b_ligand.sdf +0 -44
- dpdata-0.2.16/tests/bond_order/refined-set-ligands/origin/1mue_ligand.sdf +0 -121
- dpdata-0.2.16/tests/bond_order/refined-set-ligands/origin/1w4q_ligand.sdf +0 -84
- dpdata-0.2.16/tests/bond_order/refined-set-ligands/origin/2e94_ligand.sdf +0 -113
- dpdata-0.2.16/tests/bond_order/refined-set-ligands/origin/4xaq_ligand.sdf +0 -68
- dpdata-0.2.16/tests/bond_order/refined-set-ligands/origin/4xtw_ligand.sdf +0 -161
- dpdata-0.2.16/tests/comp_sys.py +0 -124
- dpdata-0.2.16/tests/computed_structure_entry.json +0 -226
- dpdata-0.2.16/tests/context.py +0 -14
- dpdata-0.2.16/tests/cp2k/aimd/DPGEN-1.ener +0 -31
- dpdata-0.2.16/tests/cp2k/aimd/DPGEN-frc-1.xyz +0 -16050
- dpdata-0.2.16/tests/cp2k/aimd/DPGEN-pos-1.xyz +0 -16050
- dpdata-0.2.16/tests/cp2k/aimd/cp2k.log +0 -65942
- dpdata-0.2.16/tests/cp2k/aimd/deepmd/set.000/box.npy +0 -0
- dpdata-0.2.16/tests/cp2k/aimd/deepmd/set.000/coord.npy +0 -0
- dpdata-0.2.16/tests/cp2k/aimd/deepmd/set.000/energy.npy +0 -0
- dpdata-0.2.16/tests/cp2k/aimd/deepmd/set.000/force.npy +0 -0
- dpdata-0.2.16/tests/cp2k/aimd/deepmd/type.raw +0 -533
- dpdata-0.2.16/tests/cp2k/aimd/deepmd/type_map.raw +0 -4
- dpdata-0.2.16/tests/cp2k/aimd/input.inp +0 -679
- dpdata-0.2.16/tests/cp2k/aimd_stress/DPGEN-pos-1.xyz +0 -7
- dpdata-0.2.16/tests/cp2k/aimd_stress/cp2k.log +0 -1992
- dpdata-0.2.16/tests/cp2k/aimd_stress/deepmd/set.000/box.npy +0 -0
- dpdata-0.2.16/tests/cp2k/aimd_stress/deepmd/set.000/coord.npy +0 -0
- dpdata-0.2.16/tests/cp2k/aimd_stress/deepmd/set.000/energy.npy +0 -0
- dpdata-0.2.16/tests/cp2k/aimd_stress/deepmd/set.000/force.npy +0 -0
- dpdata-0.2.16/tests/cp2k/aimd_stress/deepmd/set.000/virial.npy +0 -0
- dpdata-0.2.16/tests/cp2k/aimd_stress/deepmd/type.raw +0 -5
- dpdata-0.2.16/tests/cp2k/aimd_stress/deepmd/type_map.raw +0 -2
- dpdata-0.2.16/tests/cp2k/aimd_stress/input.inp +0 -108
- dpdata-0.2.16/tests/cp2k/cp2k_duplicate_header/cp2k_output_duplicate_header +0 -2841
- dpdata-0.2.16/tests/cp2k/cp2k_duplicate_header/deepmd/set.000/box.npy +0 -0
- dpdata-0.2.16/tests/cp2k/cp2k_duplicate_header/deepmd/set.000/coord.npy +0 -0
- dpdata-0.2.16/tests/cp2k/cp2k_duplicate_header/deepmd/set.000/energy.npy +0 -0
- dpdata-0.2.16/tests/cp2k/cp2k_duplicate_header/deepmd/set.000/force.npy +0 -0
- dpdata-0.2.16/tests/cp2k/cp2k_duplicate_header/deepmd/set.000/virial.npy +0 -0
- dpdata-0.2.16/tests/cp2k/cp2k_duplicate_header/deepmd/type.raw +0 -30
- dpdata-0.2.16/tests/cp2k/cp2k_duplicate_header/deepmd/type_map.raw +0 -3
- dpdata-0.2.16/tests/cp2k/cp2k_element_replace/cp2k_output_element_replace +0 -4541
- dpdata-0.2.16/tests/cp2k/cp2k_element_replace/deepmd/set.000/box.npy +0 -0
- dpdata-0.2.16/tests/cp2k/cp2k_element_replace/deepmd/set.000/coord.npy +0 -0
- dpdata-0.2.16/tests/cp2k/cp2k_element_replace/deepmd/set.000/energy.npy +0 -0
- dpdata-0.2.16/tests/cp2k/cp2k_element_replace/deepmd/set.000/force.npy +0 -0
- dpdata-0.2.16/tests/cp2k/cp2k_element_replace/deepmd/set.000/virial.npy +0 -0
- dpdata-0.2.16/tests/cp2k/cp2k_element_replace/deepmd/type.raw +0 -601
- dpdata-0.2.16/tests/cp2k/cp2k_element_replace/deepmd/type_map.raw +0 -4
- dpdata-0.2.16/tests/cp2k/cp2k_nocon_output +0 -4344
- dpdata-0.2.16/tests/cp2k/cp2k_normal_output/cp2k_output +0 -1657
- dpdata-0.2.16/tests/cp2k/cp2k_normal_output/deepmd/set.000/box.npy +0 -0
- dpdata-0.2.16/tests/cp2k/cp2k_normal_output/deepmd/set.000/coord.npy +0 -0
- dpdata-0.2.16/tests/cp2k/cp2k_normal_output/deepmd/set.000/energy.npy +0 -0
- dpdata-0.2.16/tests/cp2k/cp2k_normal_output/deepmd/set.000/force.npy +0 -0
- dpdata-0.2.16/tests/cp2k/cp2k_normal_output/deepmd/set.000/virial.npy +0 -0
- dpdata-0.2.16/tests/cp2k/cp2k_normal_output/deepmd/type.raw +0 -30
- dpdata-0.2.16/tests/cp2k/cp2k_normal_output/deepmd/type_map.raw +0 -3
- dpdata-0.2.16/tests/dftbplus/detailed.out +0 -88
- dpdata-0.2.16/tests/dftbplus/dftb_pin.hsd +0 -93
- dpdata-0.2.16/tests/fhi_aims/out_md +0 -1178
- dpdata-0.2.16/tests/fhi_aims/out_scf +0 -2228
- dpdata-0.2.16/tests/fhi_aims/output_multi_elements +0 -7209
- dpdata-0.2.16/tests/fhi_aims/ref_cell.txt +0 -3
- dpdata-0.2.16/tests/fhi_aims/ref_cell_md.txt +0 -9
- dpdata-0.2.16/tests/fhi_aims/ref_cell_md_m.txt +0 -19
- dpdata-0.2.16/tests/fhi_aims/ref_coord.txt +0 -2
- dpdata-0.2.16/tests/fhi_aims/ref_coord_md.txt +0 -9
- dpdata-0.2.16/tests/fhi_aims/ref_coord_md_m.txt +0 -480
- dpdata-0.2.16/tests/fhi_aims/ref_energy_md.txt +0 -3
- dpdata-0.2.16/tests/fhi_aims/ref_energy_md_m.txt +0 -6
- dpdata-0.2.16/tests/fhi_aims/ref_force.txt +0 -2
- dpdata-0.2.16/tests/fhi_aims/ref_force_md.txt +0 -9
- dpdata-0.2.16/tests/fhi_aims/ref_force_md_m.txt +0 -480
- dpdata-0.2.16/tests/gaussian/aimd_gaussian_CH4_output +0 -2615
- dpdata-0.2.16/tests/gaussian/h2pbc.gaussianlog +0 -301
- dpdata-0.2.16/tests/gaussian/largeforce.gaussianlog +0 -20857
- dpdata-0.2.16/tests/gaussian/methane.gaussianlog +0 -342
- dpdata-0.2.16/tests/gaussian/methane_reordered.gaussianlog +0 -342
- dpdata-0.2.16/tests/gaussian/methane_sub.gaussianlog +0 -339
- dpdata-0.2.16/tests/gaussian/noncoveraged.gaussianlog +0 -317
- dpdata-0.2.16/tests/gaussian/oxygen.gaussianlog +0 -1252
- dpdata-0.2.16/tests/gromacs/1h.gro +0 -12
- dpdata-0.2.16/tests/gromacs/1h.tri.gro +0 -12
- dpdata-0.2.16/tests/gromacs/case_for_format_atom_name.gro +0 -35
- dpdata-0.2.16/tests/gromacs/multi_frames.gro +0 -24
- dpdata-0.2.16/tests/lammps/traj_with_random_type_id.dump +0 -50
- dpdata-0.2.16/tests/plugin/dpdata_plugin_test/__init__.py +0 -16
- dpdata-0.2.16/tests/plugin/pyproject.toml +0 -17
- dpdata-0.2.16/tests/poscars/6362_OUTCAR +0 -3090
- dpdata-0.2.16/tests/poscars/CONTCAR.h2o.md +0 -43
- dpdata-0.2.16/tests/poscars/OUTCAR.Ge.vdw +0 -1616
- dpdata-0.2.16/tests/poscars/OUTCAR.ch4.1step +0 -710
- dpdata-0.2.16/tests/poscars/OUTCAR.ch4.ml +0 -3289
- dpdata-0.2.16/tests/poscars/OUTCAR.ch4.unconverged +0 -3133
- dpdata-0.2.16/tests/poscars/OUTCAR.h2o.md +0 -2902
- dpdata-0.2.16/tests/poscars/OUTCAR.h2o.md.10 +0 -6166
- dpdata-0.2.16/tests/poscars/POSCAR.P42nmc +0 -104
- dpdata-0.2.16/tests/poscars/POSCAR.P42nmc.replace +0 -104
- dpdata-0.2.16/tests/poscars/POSCAR.SiC +0 -16
- dpdata-0.2.16/tests/poscars/POSCAR.SiC.const +0 -16
- dpdata-0.2.16/tests/poscars/POSCAR.SiC.normal +0 -16
- dpdata-0.2.16/tests/poscars/POSCAR.SiC.replicate123 +0 -56
- dpdata-0.2.16/tests/poscars/POSCAR.SiC.uniform +0 -16
- dpdata-0.2.16/tests/poscars/POSCAR.h2o.md +0 -14
- dpdata-0.2.16/tests/poscars/POSCAR.h4o3 +0 -15
- dpdata-0.2.16/tests/poscars/POSCAR.oh.c +0 -11
- dpdata-0.2.16/tests/poscars/POSCAR.oh.d +0 -10
- dpdata-0.2.16/tests/poscars/POSCAR.oh.d.dup +0 -11
- dpdata-0.2.16/tests/poscars/conf.5.dump +0 -55
- dpdata-0.2.16/tests/poscars/conf.dump +0 -22
- dpdata-0.2.16/tests/poscars/conf.lmp +0 -12
- dpdata-0.2.16/tests/poscars/conf.waterion.lmp +0 -391
- dpdata-0.2.16/tests/poscars/conf2.dump +0 -11
- dpdata-0.2.16/tests/poscars/conf_s_su.dump +0 -22
- dpdata-0.2.16/tests/poscars/conf_unfold.dump +0 -22
- dpdata-0.2.16/tests/poscars/deepmd.h2o.md/box.raw +0 -3
- dpdata-0.2.16/tests/poscars/deepmd.h2o.md/coord.raw +0 -3
- dpdata-0.2.16/tests/poscars/deepmd.h2o.md/energy.raw +0 -3
- dpdata-0.2.16/tests/poscars/deepmd.h2o.md/force.raw +0 -3
- dpdata-0.2.16/tests/poscars/deepmd.h2o.md/type.raw +0 -6
- dpdata-0.2.16/tests/poscars/deepmd.h2o.md/virial.raw +0 -3
- dpdata-0.2.16/tests/poscars/h2o.md.json +0 -369
- dpdata-0.2.16/tests/poscars/poscar_ref_oh.py +0 -50
- dpdata-0.2.16/tests/poscars/shift_origin.dump +0 -26
- dpdata-0.2.16/tests/poscars/test_lammps_dump_s_su.py +0 -27
- dpdata-0.2.16/tests/poscars/vasprun.Ge.vdw.xml +0 -1468
- dpdata-0.2.16/tests/poscars/vasprun.h2o.md.10.xml +0 -2681
- dpdata-0.2.16/tests/poscars/vasprun.h2o.md.tribox.lower.xml +0 -2054
- dpdata-0.2.16/tests/poscars/vasprun.h2o.md.tribox.xml +0 -2010
- dpdata-0.2.16/tests/poscars/vasprun.h2o.md.xml +0 -1753
- dpdata-0.2.16/tests/psi4/psi4.out +0 -549
- dpdata-0.2.16/tests/pwmat/MOVEMENT +0 -27776
- dpdata-0.2.16/tests/pwmat/OUT.MLMD +0 -18
- dpdata-0.2.16/tests/pwmat/atom.config +0 -11
- dpdata-0.2.16/tests/pwmat/atom.config.oh +0 -8
- dpdata-0.2.16/tests/pwmat/conf.lmp +0 -12
- dpdata-0.2.16/tests/pwmat/config_ref_ch4.py +0 -59
- dpdata-0.2.16/tests/pwmat/config_ref_oh.py +0 -45
- dpdata-0.2.16/tests/pwmat/mlmd_cell +0 -3
- dpdata-0.2.16/tests/pwmat/mlmd_coord +0 -5
- dpdata-0.2.16/tests/pwmat/mlmd_force +0 -5
- dpdata-0.2.16/tests/pwmat/ref_cell +0 -3
- dpdata-0.2.16/tests/pwmat/ref_coord +0 -5
- dpdata-0.2.16/tests/pwmat/ref_force +0 -5
- dpdata-0.2.16/tests/pymatgen_data/FA-001.vasp +0 -16
- dpdata-0.2.16/tests/pymatgen_data/FA-001.xyz +0 -10
- dpdata-0.2.16/tests/pymatgen_data/mol2-new.vasp +0 -16
- dpdata-0.2.16/tests/pymatgen_data/mol2.vasp +0 -16
- dpdata-0.2.16/tests/qe.scf/01.in +0 -37
- dpdata-0.2.16/tests/qe.scf/01.out +0 -321
- dpdata-0.2.16/tests/qe.scf/02.in +0 -230
- dpdata-0.2.16/tests/qe.scf/02.out +0 -776
- dpdata-0.2.16/tests/qe.scf/Al.in +0 -43
- dpdata-0.2.16/tests/qe.scf/Al.out +0 -557
- dpdata-0.2.16/tests/qe.scf/ch4_coord +0 -5
- dpdata-0.2.16/tests/qe.scf/ch4_force +0 -5
- dpdata-0.2.16/tests/qe.scf/ch4_virial +0 -3
- dpdata-0.2.16/tests/qe.scf/h2o_cell +0 -3
- dpdata-0.2.16/tests/qe.scf/h2o_coord +0 -192
- dpdata-0.2.16/tests/qe.scf/h2o_force +0 -192
- dpdata-0.2.16/tests/qe.scf/h2o_virial +0 -3
- dpdata-0.2.16/tests/qe.traj/oh-md.evp +0 -2
- dpdata-0.2.16/tests/qe.traj/oh-md.for +0 -384
- dpdata-0.2.16/tests/qe.traj/oh-md.in +0 -256
- dpdata-0.2.16/tests/qe.traj/oh-md.pos +0 -384
- dpdata-0.2.16/tests/qe.traj/traj6.cel +0 -24
- dpdata-0.2.16/tests/qe.traj/traj6.evp +0 -7
- dpdata-0.2.16/tests/qe.traj/traj6.for +0 -18
- dpdata-0.2.16/tests/qe.traj/traj6.in +0 -67
- dpdata-0.2.16/tests/qe.traj/traj6.pos +0 -18
- dpdata-0.2.16/tests/siesta/aimd/cell +0 -19
- dpdata-0.2.16/tests/siesta/aimd/coord +0 -328
- dpdata-0.2.16/tests/siesta/aimd/energy +0 -5
- dpdata-0.2.16/tests/siesta/aimd/force +0 -326
- dpdata-0.2.16/tests/siesta/aimd/output +0 -1486
- dpdata-0.2.16/tests/siesta/aimd/virial +0 -21
- dpdata-0.2.16/tests/siesta/scf/ref_cell +0 -3
- dpdata-0.2.16/tests/siesta/scf/ref_coord +0 -5
- dpdata-0.2.16/tests/siesta/scf/ref_energy +0 -1
- dpdata-0.2.16/tests/siesta/scf/ref_force +0 -5
- dpdata-0.2.16/tests/siesta/scf/ref_virial +0 -3
- dpdata-0.2.16/tests/siesta/scf/siesta_output +0 -614
- dpdata-0.2.16/tests/test_abacus_md.py +0 -252
- dpdata-0.2.16/tests/test_abacus_pw_scf.py +0 -148
- dpdata-0.2.16/tests/test_abacus_relax.py +0 -110
- dpdata-0.2.16/tests/test_abacus_stru_dump.py +0 -29
- dpdata-0.2.16/tests/test_amber_md.py +0 -56
- dpdata-0.2.16/tests/test_amber_sqm.py +0 -81
- dpdata-0.2.16/tests/test_ase_traj.py +0 -47
- dpdata-0.2.16/tests/test_bond_order_system.py +0 -154
- dpdata-0.2.16/tests/test_cell_to_low_triangle.py +0 -67
- dpdata-0.2.16/tests/test_cli.py +0 -28
- dpdata-0.2.16/tests/test_corr.py +0 -53
- dpdata-0.2.16/tests/test_cp2k_aimd_output.py +0 -57
- dpdata-0.2.16/tests/test_cp2k_output.py +0 -73
- dpdata-0.2.16/tests/test_custom_data_type.py +0 -84
- dpdata-0.2.16/tests/test_deepmd_comp.py +0 -93
- dpdata-0.2.16/tests/test_deepmd_hdf5.py +0 -72
- dpdata-0.2.16/tests/test_deepmd_mixed.py +0 -316
- dpdata-0.2.16/tests/test_deepmd_raw.py +0 -193
- dpdata-0.2.16/tests/test_dftbplus.py +0 -58
- dpdata-0.2.16/tests/test_elements_index.py +0 -29
- dpdata-0.2.16/tests/test_empty.py +0 -33
- dpdata-0.2.16/tests/test_fhi_md_multi_elem_output.py +0 -62
- dpdata-0.2.16/tests/test_fhi_md_output.py +0 -60
- dpdata-0.2.16/tests/test_fhi_output.py +0 -76
- dpdata-0.2.16/tests/test_gaussian_driver.py +0 -128
- dpdata-0.2.16/tests/test_gaussian_gjf.py +0 -27
- dpdata-0.2.16/tests/test_gaussian_log.py +0 -107
- dpdata-0.2.16/tests/test_gromacs_gro.py +0 -154
- dpdata-0.2.16/tests/test_json.py +0 -28
- dpdata-0.2.16/tests/test_lammps_dump_idx.py +0 -27
- dpdata-0.2.16/tests/test_lammps_dump_shift_origin.py +0 -15
- dpdata-0.2.16/tests/test_lammps_dump_skipload.py +0 -20
- dpdata-0.2.16/tests/test_lammps_dump_to_system.py +0 -27
- dpdata-0.2.16/tests/test_lammps_dump_unfold.py +0 -37
- dpdata-0.2.16/tests/test_lammps_lmp_dump.py +0 -29
- dpdata-0.2.16/tests/test_lammps_lmp_to_system.py +0 -17
- dpdata-0.2.16/tests/test_lammps_read_from_trajs.py +0 -133
- dpdata-0.2.16/tests/test_msd.py +0 -31
- dpdata-0.2.16/tests/test_multisystems.py +0 -204
- dpdata-0.2.16/tests/test_periodic_table.py +0 -31
- dpdata-0.2.16/tests/test_perturb.py +0 -172
- dpdata-0.2.16/tests/test_pick_atom_idx.py +0 -49
- dpdata-0.2.16/tests/test_predict.py +0 -129
- dpdata-0.2.16/tests/test_psi4.py +0 -62
- dpdata-0.2.16/tests/test_pwmat_config_dump.py +0 -60
- dpdata-0.2.16/tests/test_pwmat_config_to_system.py +0 -36
- dpdata-0.2.16/tests/test_pwmat_mlmd.py +0 -63
- dpdata-0.2.16/tests/test_pwmat_movement.py +0 -67
- dpdata-0.2.16/tests/test_pymatgen_molecule.py +0 -39
- dpdata-0.2.16/tests/test_qe_cp_traj.py +0 -70
- dpdata-0.2.16/tests/test_qe_cp_traj_skipload.py +0 -75
- dpdata-0.2.16/tests/test_qe_pw_scf.py +0 -146
- dpdata-0.2.16/tests/test_qe_pw_scf_crystal_atomic_positions.py +0 -34
- dpdata-0.2.16/tests/test_qe_pw_scf_energy_bug.py +0 -25
- dpdata-0.2.16/tests/test_quip_gap_xyz.py +0 -118
- dpdata-0.2.16/tests/test_remove_atom_names.py +0 -22
- dpdata-0.2.16/tests/test_remove_outlier.py +0 -54
- dpdata-0.2.16/tests/test_remove_pbc.py +0 -49
- dpdata-0.2.16/tests/test_replace.py +0 -43
- dpdata-0.2.16/tests/test_replicate.py +0 -38
- dpdata-0.2.16/tests/test_shuffle.py +0 -24
- dpdata-0.2.16/tests/test_siesta_aiMD_output.py +0 -160
- dpdata-0.2.16/tests/test_siesta_output.py +0 -102
- dpdata-0.2.16/tests/test_split_dataset.py +0 -25
- dpdata-0.2.16/tests/test_sqm_driver.py +0 -34
- dpdata-0.2.16/tests/test_stat.py +0 -31
- dpdata-0.2.16/tests/test_system_append.py +0 -58
- dpdata-0.2.16/tests/test_system_apply_pbc.py +0 -33
- dpdata-0.2.16/tests/test_system_set_type.py +0 -35
- dpdata-0.2.16/tests/test_to_ase.py +0 -52
- dpdata-0.2.16/tests/test_to_list.py +0 -19
- dpdata-0.2.16/tests/test_to_pymatgen.py +0 -32
- dpdata-0.2.16/tests/test_to_pymatgen_entry.py +0 -33
- dpdata-0.2.16/tests/test_type_map.py +0 -40
- dpdata-0.2.16/tests/test_vasp_outcar.py +0 -117
- dpdata-0.2.16/tests/test_vasp_poscar_dump.py +0 -60
- dpdata-0.2.16/tests/test_vasp_poscar_to_system.py +0 -60
- dpdata-0.2.16/tests/test_vasp_unconverged_outcar.py +0 -27
- dpdata-0.2.16/tests/test_vasp_xml.py +0 -51
- dpdata-0.2.16/tests/test_water_ions.py +0 -65
- dpdata-0.2.16/tests/test_xyz.py +0 -44
- dpdata-0.2.16/tests/xyz/B1C9/box.raw +0 -2
- dpdata-0.2.16/tests/xyz/B1C9/coord.raw +0 -2
- dpdata-0.2.16/tests/xyz/B1C9/energy.raw +0 -2
- dpdata-0.2.16/tests/xyz/B1C9/force.raw +0 -2
- dpdata-0.2.16/tests/xyz/B1C9/type.raw +0 -10
- dpdata-0.2.16/tests/xyz/B1C9/type_map.raw +0 -2
- dpdata-0.2.16/tests/xyz/B1C9/virial.raw +0 -2
- dpdata-0.2.16/tests/xyz/B5C7/box.raw +0 -1
- dpdata-0.2.16/tests/xyz/B5C7/coord.raw +0 -1
- dpdata-0.2.16/tests/xyz/B5C7/energy.raw +0 -1
- dpdata-0.2.16/tests/xyz/B5C7/force.raw +0 -1
- dpdata-0.2.16/tests/xyz/B5C7/type.raw +0 -12
- dpdata-0.2.16/tests/xyz/B5C7/type_map.raw +0 -2
- dpdata-0.2.16/tests/xyz/B5C7/virial.raw +0 -1
- dpdata-0.2.16/tests/xyz/B5C7_novirials/box.raw +0 -1
- dpdata-0.2.16/tests/xyz/B5C7_novirials/coord.raw +0 -1
- dpdata-0.2.16/tests/xyz/B5C7_novirials/energy.raw +0 -1
- dpdata-0.2.16/tests/xyz/B5C7_novirials/force.raw +0 -1
- dpdata-0.2.16/tests/xyz/B5C7_novirials/type.raw +0 -12
- dpdata-0.2.16/tests/xyz/B5C7_novirials/type_map.raw +0 -2
- dpdata-0.2.16/tests/xyz/xyz_B5C7_novirials.xyz +0 -14
- dpdata-0.2.16/tests/xyz/xyz_unittest.field.xyz +0 -41
- dpdata-0.2.16/tests/xyz/xyz_unittest.sort.xyz +0 -38
- dpdata-0.2.16/tests/xyz/xyz_unittest.xyz +0 -38
- {dpdata-0.2.16 → dpdata-0.2.18}/.git-blame-ignore-revs +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/.github/workflows/mirror_gitee.yml +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/.github/workflows/pub-pypi.yml +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/.github/workflows/test_import.yml +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/LICENSE +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/__about__.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/abacus/__init__.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/abacus/md.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/amber/__init__.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/amber/sqm.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/ase_calculator.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/bond_order_system.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/cp2k/__init__.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/cp2k/cell.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/data_type.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/deepmd/__init__.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/deepmd/comp.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/deepmd/raw.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/dftbplus/__init__.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/dftbplus/output.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/fhi_aims/__init__.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/fhi_aims/output.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/gaussian/__init__.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/gaussian/gjf.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/gromacs/__init__.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/gromacs/gro.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/lammps/__init__.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/lammps/lmp.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/md/__init__.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/md/msd.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/md/pbc.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/md/rdf.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/md/water.py +0 -0
- {dpdata-0.2.16/dpdata/psi4 → dpdata-0.2.18/dpdata/openmx}/__init__.py +0 -0
- {dpdata-0.2.16/dpdata/pwmat → dpdata-0.2.18/dpdata/orca}/__init__.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/periodic_table.json +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/periodic_table.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/plugins/3dmol.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/plugins/__init__.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/plugins/abacus.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/plugins/amber.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/plugins/dftbplus.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/plugins/fhi_aims.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/plugins/gaussian.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/plugins/gromacs.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/plugins/lammps.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/plugins/list.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/plugins/pwmat.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/plugins/pymatgen.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/plugins/rdkit.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/plugins/siesta.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/plugins/xyz.py +0 -0
- {dpdata-0.2.16/dpdata/pymatgen → dpdata-0.2.18/dpdata/psi4}/__init__.py +0 -0
- {dpdata-0.2.16/dpdata/qe → dpdata-0.2.18/dpdata/pwmat}/__init__.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/pwmat/atomconfig.py +0 -0
- {dpdata-0.2.16/dpdata/rdkit → dpdata-0.2.18/dpdata/pymatgen}/__init__.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/pymatgen/molecule.py +0 -0
- {dpdata-0.2.16/dpdata/siesta → dpdata-0.2.18/dpdata/qe}/__init__.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/qe/traj.py +0 -0
- {dpdata-0.2.16/dpdata/vasp → dpdata-0.2.18/dpdata/rdkit}/__init__.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/rdkit/sanitize.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/rdkit/utils.py +0 -0
- {dpdata-0.2.16/dpdata/xyz → dpdata-0.2.18/dpdata/siesta}/__init__.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/siesta/aiMD_output.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/siesta/output.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/stat.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/unit.py +0 -0
- /dpdata-0.2.16/tests/amber/corr/dataset/C6H11HW192O6OW96P1/nopbc → /dpdata-0.2.18/dpdata/vasp/__init__.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/vasp/poscar.py +0 -0
- /dpdata-0.2.16/tests/amber/corr/dp_amber_mask/C6EP0H11HW192O6OW96P1/nopbc → /dpdata-0.2.18/dpdata/xyz/__init__.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata/xyz/xyz.py +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata.egg-info/dependency_links.txt +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata.egg-info/entry_points.txt +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/dpdata.egg-info/top_level.txt +0 -0
- {dpdata-0.2.16 → dpdata-0.2.18}/setup.cfg +0 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
name: Bug report
|
|
2
|
+
description: Create a bug report to help us eliminate issues and improve deepmd-kit.
|
|
3
|
+
title: "[BUG] "
|
|
4
|
+
labels: bug
|
|
5
|
+
assignees: []
|
|
6
|
+
body:
|
|
7
|
+
- type: textarea
|
|
8
|
+
id: summary
|
|
9
|
+
attributes:
|
|
10
|
+
label: Bug summary
|
|
11
|
+
description: Please provide a clear and concise description of what the bug is.
|
|
12
|
+
placeholder:
|
|
13
|
+
value:
|
|
14
|
+
validations:
|
|
15
|
+
required: true
|
|
16
|
+
- type: input
|
|
17
|
+
id: version
|
|
18
|
+
attributes:
|
|
19
|
+
label: dpdata Version
|
|
20
|
+
description: "`dpdata --version`"
|
|
21
|
+
validations:
|
|
22
|
+
required: true
|
|
23
|
+
- type: textarea
|
|
24
|
+
id: log
|
|
25
|
+
attributes:
|
|
26
|
+
label: Input Files, Running Commands, Error Log, etc.
|
|
27
|
+
description: "Please provide necessary information including input file, running commands, error log , etc., AS DETAILED AS POSSIBLE to help locate and reproduce your problem. WARNING: Do not use image to show error log! Paste texts in a code block instead."
|
|
28
|
+
placeholder:
|
|
29
|
+
value:
|
|
30
|
+
validations:
|
|
31
|
+
required: true
|
|
32
|
+
- type: textarea
|
|
33
|
+
id: reproduce
|
|
34
|
+
attributes:
|
|
35
|
+
label: Steps to Reproduce
|
|
36
|
+
description: "Describe the steps required to (quickly) reproduce the issue. You can attach (small) files to the section below or add URLs where to download an archive with all necessary files. Please try to create an input set that is as minimal and small as possible and reproduces the bug as quickly as possible. **NOTE:** the less effort and time it takes to reproduce your reported bug, the more likely it becomes, that somebody will look into it and fix the problem."
|
|
37
|
+
placeholder:
|
|
38
|
+
value:
|
|
39
|
+
validations:
|
|
40
|
+
required: true
|
|
41
|
+
- type: textarea
|
|
42
|
+
id: further
|
|
43
|
+
attributes:
|
|
44
|
+
label: Further Information, Files, and Links
|
|
45
|
+
description: Put any additional information here, attach relevant text or image files and URLs to external sites, e.g. relevant publications
|
|
46
|
+
placeholder:
|
|
47
|
+
value:
|
|
48
|
+
validations:
|
|
49
|
+
required: false
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: Feature request
|
|
2
|
+
description: Suggest an idea for this project.
|
|
3
|
+
title: "[Feature Request] "
|
|
4
|
+
labels: enhancement
|
|
5
|
+
assignees: []
|
|
6
|
+
body:
|
|
7
|
+
- type: textarea
|
|
8
|
+
id: summary
|
|
9
|
+
attributes:
|
|
10
|
+
label: Summary
|
|
11
|
+
description: "Please provide a brief and concise description of the suggested feature or change"
|
|
12
|
+
placeholder:
|
|
13
|
+
value:
|
|
14
|
+
validations:
|
|
15
|
+
required: true
|
|
16
|
+
- type: textarea
|
|
17
|
+
id: details
|
|
18
|
+
attributes:
|
|
19
|
+
label: Detailed Description
|
|
20
|
+
description: "Please explain how you would like to see deepmd-kit enhanced, what feature(s) you are looking for, what specific problems this will solve. If possible, provide references to relevant background information like publications or web pages, and whether you are planning to implement the enhancement yourself or would like to participate in the implementation. If applicable add a reference to an existing bug report or issue that this will address."
|
|
21
|
+
placeholder:
|
|
22
|
+
value:
|
|
23
|
+
validations:
|
|
24
|
+
required: true
|
|
25
|
+
- type: textarea
|
|
26
|
+
id: further
|
|
27
|
+
attributes:
|
|
28
|
+
label: Further Information, Files, and Links
|
|
29
|
+
description: Put any additional information here, attach relevant text or image files and URLs to external sites, e.g. relevant publications
|
|
30
|
+
placeholder:
|
|
31
|
+
value:
|
|
32
|
+
validations:
|
|
33
|
+
required: false
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
name: Generic issue
|
|
2
|
+
description: For issues that do not fit any of the other categories.
|
|
3
|
+
labels: wontfix
|
|
4
|
+
assignees: []
|
|
5
|
+
body:
|
|
6
|
+
- type: textarea
|
|
7
|
+
id: summary
|
|
8
|
+
attributes:
|
|
9
|
+
label: Summary
|
|
10
|
+
description: "Please provide a clear and concise description of what the question is."
|
|
11
|
+
placeholder:
|
|
12
|
+
value:
|
|
13
|
+
validations:
|
|
14
|
+
required: true
|
|
15
|
+
- type: input
|
|
16
|
+
id: version
|
|
17
|
+
attributes:
|
|
18
|
+
label: dpdata Version
|
|
19
|
+
description: "`dpdata --version`"
|
|
20
|
+
validations:
|
|
21
|
+
required: true
|
|
22
|
+
- type: textarea
|
|
23
|
+
id: other-version
|
|
24
|
+
attributes:
|
|
25
|
+
label: Platform, Python Version, etc
|
|
26
|
+
description: "If applicable, specify what platform you are running on."
|
|
27
|
+
placeholder:
|
|
28
|
+
value:
|
|
29
|
+
validations:
|
|
30
|
+
required: false
|
|
31
|
+
- type: textarea
|
|
32
|
+
id: details
|
|
33
|
+
attributes:
|
|
34
|
+
label: Details
|
|
35
|
+
description: "Please explain the issue in detail here."
|
|
36
|
+
placeholder:
|
|
37
|
+
value:
|
|
38
|
+
validations:
|
|
39
|
+
required: true
|
|
@@ -9,7 +9,7 @@ jobs:
|
|
|
9
9
|
runs-on: ubuntu-latest
|
|
10
10
|
strategy:
|
|
11
11
|
matrix:
|
|
12
|
-
python-version: [3.7, 3.8, 3.
|
|
12
|
+
python-version: ["3.7", "3.8", "3.12"]
|
|
13
13
|
|
|
14
14
|
steps:
|
|
15
15
|
- uses: actions/checkout@v2
|
|
@@ -26,7 +26,9 @@ jobs:
|
|
|
26
26
|
- name: Test
|
|
27
27
|
run: cd tests && coverage run --source=../dpdata -m unittest && cd .. && coverage combine tests/.coverage && coverage report
|
|
28
28
|
- name: Run codecov
|
|
29
|
-
uses: codecov/codecov-action@
|
|
29
|
+
uses: codecov/codecov-action@v4
|
|
30
|
+
env:
|
|
31
|
+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
30
32
|
pass:
|
|
31
33
|
needs: [build]
|
|
32
34
|
runs-on: ubuntu-latest
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
3
3
|
repos:
|
|
4
4
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
5
|
-
rev: v4.
|
|
5
|
+
rev: v4.5.0
|
|
6
6
|
hooks:
|
|
7
7
|
# there are many log files in tests
|
|
8
8
|
# TODO: seperate py files and log files
|
|
@@ -17,16 +17,15 @@ repos:
|
|
|
17
17
|
- id: check-symlinks
|
|
18
18
|
- id: check-toml
|
|
19
19
|
# Python
|
|
20
|
-
- repo: https://github.com/psf/black
|
|
21
|
-
rev: 23.7.0
|
|
22
|
-
hooks:
|
|
23
|
-
- id: black-jupyter
|
|
24
20
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
25
21
|
# Ruff version.
|
|
26
|
-
rev: v0.
|
|
22
|
+
rev: v0.3.5
|
|
27
23
|
hooks:
|
|
28
24
|
- id: ruff
|
|
29
25
|
args: ["--fix"]
|
|
26
|
+
types_or: [python, pyi, jupyter]
|
|
27
|
+
- id: ruff-format
|
|
28
|
+
types_or: [python, pyi, jupyter]
|
|
30
29
|
# numpydoc
|
|
31
30
|
- repo: https://github.com/Carreau/velin
|
|
32
31
|
rev: 0.0.12
|
|
@@ -3,10 +3,9 @@ version: 2
|
|
|
3
3
|
build:
|
|
4
4
|
os: ubuntu-22.04
|
|
5
5
|
tools:
|
|
6
|
-
python: "
|
|
6
|
+
python: "mambaforge-22.9"
|
|
7
|
+
conda:
|
|
8
|
+
environment: docs/rtd_environment.yml
|
|
7
9
|
sphinx:
|
|
8
10
|
configuration: docs/conf.py
|
|
9
11
|
formats: all
|
|
10
|
-
python:
|
|
11
|
-
install:
|
|
12
|
-
- requirements: docs/requirements.txt
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dpdata
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.18
|
|
4
4
|
Summary: Manipulating data formats of DeePMD-kit, VASP, QE, PWmat, and LAMMPS, etc.
|
|
5
5
|
Author: DeepModeling
|
|
6
6
|
Author-email: Han Wang <wang_han@iapcm.ac.cn>
|
|
@@ -205,6 +205,8 @@ Requires-Dist: m2r2; extra == "docs"
|
|
|
205
205
|
Requires-Dist: deepmodeling-sphinx>=0.1.1; extra == "docs"
|
|
206
206
|
Requires-Dist: sphinx-argparse; extra == "docs"
|
|
207
207
|
Requires-Dist: rdkit; extra == "docs"
|
|
208
|
+
Requires-Dist: jupyterlite-sphinx; extra == "docs"
|
|
209
|
+
Requires-Dist: jupyterlite-xeus-python; extra == "docs"
|
|
208
210
|
|
|
209
211
|
# dpdata
|
|
210
212
|
|
|
@@ -282,8 +284,10 @@ The `System` or `LabeledSystem` can be constructed from the following file forma
|
|
|
282
284
|
| gaussian| log | True | True | LabeledSystem | 'gaussian/md' |
|
|
283
285
|
| siesta | output | False | True | LabeledSystem | 'siesta/output'|
|
|
284
286
|
| siesta | aimd_output | True | True | LabeledSystem | 'siesta/aimd_output' |
|
|
285
|
-
| cp2k | output | False | True | LabeledSystem | 'cp2k/output' |
|
|
286
|
-
| cp2k | aimd_output | True | True | LabeledSystem | 'cp2k/aimd_output' |
|
|
287
|
+
| cp2k(deprecated in future) | output | False | True | LabeledSystem | 'cp2k/output' |
|
|
288
|
+
| cp2k(deprecated in future) | aimd_output | True | True | LabeledSystem | 'cp2k/aimd_output' |
|
|
289
|
+
| cp2k([plug-in](https://github.com/robinzyb/cp2kdata#plug-in-for-dpdata)) | stdout | False | True | LabeledSystem | 'cp2kdata/e_f' |
|
|
290
|
+
| cp2k([plug-in](https://github.com/robinzyb/cp2kdata#plug-in-for-dpdata)) | stdout | True | True | LabeledSystem | 'cp2kdata/md' |
|
|
287
291
|
| QE | log | False | True | LabeledSystem | 'qe/pw/scf' |
|
|
288
292
|
| QE | log | True | False | System | 'qe/cp/traj' |
|
|
289
293
|
| QE | log | True | True | LabeledSystem | 'qe/cp/traj' |
|
|
@@ -302,6 +306,7 @@ The `System` or `LabeledSystem` can be constructed from the following file forma
|
|
|
302
306
|
| ABACUS | STRU | True | True | LabeledSystem | 'abacus/relax' |
|
|
303
307
|
| ase | structure | True | True | MultiSystems | 'ase/structure' |
|
|
304
308
|
| DFTB+ | dftbplus | False | True | LabeledSystem | 'dftbplus' |
|
|
309
|
+
| n2p2 | n2p2 | True | True | LabeledSystem | 'n2p2' |
|
|
305
310
|
|
|
306
311
|
|
|
307
312
|
The Class `dpdata.MultiSystems` can read data from a dir which may contains many files of different systems, or from single xyz file which contains different systems.
|
|
@@ -74,8 +74,10 @@ The `System` or `LabeledSystem` can be constructed from the following file forma
|
|
|
74
74
|
| gaussian| log | True | True | LabeledSystem | 'gaussian/md' |
|
|
75
75
|
| siesta | output | False | True | LabeledSystem | 'siesta/output'|
|
|
76
76
|
| siesta | aimd_output | True | True | LabeledSystem | 'siesta/aimd_output' |
|
|
77
|
-
| cp2k | output | False | True | LabeledSystem | 'cp2k/output' |
|
|
78
|
-
| cp2k | aimd_output | True | True | LabeledSystem | 'cp2k/aimd_output' |
|
|
77
|
+
| cp2k(deprecated in future) | output | False | True | LabeledSystem | 'cp2k/output' |
|
|
78
|
+
| cp2k(deprecated in future) | aimd_output | True | True | LabeledSystem | 'cp2k/aimd_output' |
|
|
79
|
+
| cp2k([plug-in](https://github.com/robinzyb/cp2kdata#plug-in-for-dpdata)) | stdout | False | True | LabeledSystem | 'cp2kdata/e_f' |
|
|
80
|
+
| cp2k([plug-in](https://github.com/robinzyb/cp2kdata#plug-in-for-dpdata)) | stdout | True | True | LabeledSystem | 'cp2kdata/md' |
|
|
79
81
|
| QE | log | False | True | LabeledSystem | 'qe/pw/scf' |
|
|
80
82
|
| QE | log | True | False | System | 'qe/cp/traj' |
|
|
81
83
|
| QE | log | True | True | LabeledSystem | 'qe/cp/traj' |
|
|
@@ -94,6 +96,7 @@ The `System` or `LabeledSystem` can be constructed from the following file forma
|
|
|
94
96
|
| ABACUS | STRU | True | True | LabeledSystem | 'abacus/relax' |
|
|
95
97
|
| ase | structure | True | True | MultiSystems | 'ase/structure' |
|
|
96
98
|
| DFTB+ | dftbplus | False | True | LabeledSystem | 'dftbplus' |
|
|
99
|
+
| n2p2 | n2p2 | True | True | LabeledSystem | 'n2p2' |
|
|
97
100
|
|
|
98
101
|
|
|
99
102
|
The Class `dpdata.MultiSystems` can read data from a dir which may contains many files of different systems, or from single xyz file which contains different systems.
|
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# monty needs lzma
|
|
2
|
+
# See https://github.com/pandas-dev/pandas/pull/27882
|
|
3
|
+
try:
|
|
4
|
+
import lzma # noqa: F401
|
|
5
|
+
except ImportError:
|
|
6
|
+
|
|
7
|
+
class fakemodule:
|
|
8
|
+
pass
|
|
9
|
+
|
|
10
|
+
import sys
|
|
11
|
+
|
|
12
|
+
sys.modules["lzma"] = fakemodule
|
|
13
|
+
|
|
1
14
|
from . import lammps, md, vasp
|
|
2
15
|
from .system import LabeledSystem, MultiSystems, System
|
|
3
16
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# file generated by setuptools_scm
|
|
2
|
+
# don't change, don't track in version control
|
|
3
|
+
TYPE_CHECKING = False
|
|
4
|
+
if TYPE_CHECKING:
|
|
5
|
+
from typing import Tuple, Union
|
|
6
|
+
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
|
7
|
+
else:
|
|
8
|
+
VERSION_TUPLE = object
|
|
9
|
+
|
|
10
|
+
version: str
|
|
11
|
+
__version__: str
|
|
12
|
+
__version_tuple__: VERSION_TUPLE
|
|
13
|
+
version_tuple: VERSION_TUPLE
|
|
14
|
+
|
|
15
|
+
__version__ = version = '0.2.18'
|
|
16
|
+
__version_tuple__ = version_tuple = (0, 2, 18)
|
|
@@ -2,7 +2,15 @@ import os
|
|
|
2
2
|
|
|
3
3
|
import numpy as np
|
|
4
4
|
|
|
5
|
-
from .scf import
|
|
5
|
+
from .scf import (
|
|
6
|
+
bohr2ang,
|
|
7
|
+
collect_force,
|
|
8
|
+
collect_stress,
|
|
9
|
+
get_cell,
|
|
10
|
+
get_coords,
|
|
11
|
+
get_geometry_in,
|
|
12
|
+
kbar2evperang3,
|
|
13
|
+
)
|
|
6
14
|
|
|
7
15
|
# Read in geometries from an ABACUS RELAX(CELL-RELAX) trajectory in OUT.XXXX/runnning_relax/cell-relax.log.
|
|
8
16
|
|
|
@@ -40,8 +48,6 @@ def get_coords_from_log(loglines, natoms):
|
|
|
40
48
|
energy = []
|
|
41
49
|
cells = []
|
|
42
50
|
coords = []
|
|
43
|
-
force = []
|
|
44
|
-
stress = []
|
|
45
51
|
coord_direct = [] # if the coordinate is direct type or not
|
|
46
52
|
|
|
47
53
|
for i in range(len(loglines)):
|
|
@@ -91,18 +97,8 @@ def get_coords_from_log(loglines, natoms):
|
|
|
91
97
|
# get the energy of current structure
|
|
92
98
|
energy.append(float(line.split()[-2]))
|
|
93
99
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
for j in range(5, 5 + natoms):
|
|
97
|
-
force[-1].append(
|
|
98
|
-
list(map(lambda x: float(x), loglines[i + j].split()[1:4]))
|
|
99
|
-
)
|
|
100
|
-
elif line[1:13] == "TOTAL-STRESS":
|
|
101
|
-
stress.append([])
|
|
102
|
-
for j in range(4, 7):
|
|
103
|
-
stress[-1].append(
|
|
104
|
-
list(map(lambda x: float(x), loglines[i + j].split()[0:3]))
|
|
105
|
-
)
|
|
100
|
+
force = collect_force(loglines)
|
|
101
|
+
stress = collect_stress(loglines)
|
|
106
102
|
|
|
107
103
|
# delete last structures which has no energy
|
|
108
104
|
while len(energy) < len(coords):
|
|
@@ -158,10 +154,13 @@ def get_coords_from_log(loglines, natoms):
|
|
|
158
154
|
cells *= bohr2ang
|
|
159
155
|
coords *= bohr2ang
|
|
160
156
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
157
|
+
if len(stress) > 0:
|
|
158
|
+
virial = np.zeros([len(cells), 3, 3])
|
|
159
|
+
for i in range(len(cells)):
|
|
160
|
+
volume = np.linalg.det(cells[i, :, :].reshape([3, 3]))
|
|
161
|
+
virial[i] = stress[i] * kbar2evperang3 * volume
|
|
162
|
+
else:
|
|
163
|
+
virial = None
|
|
165
164
|
|
|
166
165
|
return energy, cells, coords, force, stress, virial
|
|
167
166
|
|
|
@@ -203,7 +202,8 @@ def get_frame(fname):
|
|
|
203
202
|
data["coords"] = coords
|
|
204
203
|
data["energies"] = energy
|
|
205
204
|
data["forces"] = force
|
|
206
|
-
|
|
205
|
+
if isinstance(virial, np.ndarray):
|
|
206
|
+
data["virials"] = virial
|
|
207
207
|
data["stress"] = stress
|
|
208
208
|
data["orig"] = np.zeros(3)
|
|
209
209
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import os
|
|
2
2
|
import re
|
|
3
|
+
import warnings
|
|
3
4
|
|
|
4
5
|
import numpy as np
|
|
5
6
|
|
|
@@ -9,6 +10,16 @@ bohr2ang = LengthConversion("bohr", "angstrom").value()
|
|
|
9
10
|
ry2ev = EnergyConversion("rydberg", "eV").value()
|
|
10
11
|
kbar2evperang3 = PressureConversion("kbar", "eV/angstrom^3").value()
|
|
11
12
|
|
|
13
|
+
ABACUS_STRU_KEYS = [
|
|
14
|
+
"ATOMIC_SPECIES",
|
|
15
|
+
"NUMERICAL_ORBITAL",
|
|
16
|
+
"LATTICE_CONSTANT",
|
|
17
|
+
"LATTICE_VECTORS",
|
|
18
|
+
"ATOMIC_POSITIONS",
|
|
19
|
+
"NUMERICAL_DESCRIPTOR",
|
|
20
|
+
"PAW_FILES",
|
|
21
|
+
]
|
|
22
|
+
|
|
12
23
|
|
|
13
24
|
def CheckFile(ifile):
|
|
14
25
|
if not os.path.isfile(ifile):
|
|
@@ -42,6 +53,29 @@ def get_block(lines, keyword, skip=0, nlines=None):
|
|
|
42
53
|
return ret
|
|
43
54
|
|
|
44
55
|
|
|
56
|
+
def get_stru_block(lines, keyword):
|
|
57
|
+
# return the block of lines after keyword in STRU file, and skip the blank lines
|
|
58
|
+
|
|
59
|
+
def clean_comment(line):
|
|
60
|
+
return re.split("[#]", line)[0]
|
|
61
|
+
|
|
62
|
+
ret = []
|
|
63
|
+
found = False
|
|
64
|
+
for i in range(len(lines)):
|
|
65
|
+
if clean_comment(lines[i]).strip() == keyword:
|
|
66
|
+
found = True
|
|
67
|
+
for j in range(i + 1, len(lines)):
|
|
68
|
+
if clean_comment(lines[j]).strip() == "":
|
|
69
|
+
continue
|
|
70
|
+
elif clean_comment(lines[j]).strip() in ABACUS_STRU_KEYS:
|
|
71
|
+
break
|
|
72
|
+
else:
|
|
73
|
+
ret.append(clean_comment(lines[j]))
|
|
74
|
+
if not found:
|
|
75
|
+
return None
|
|
76
|
+
return ret
|
|
77
|
+
|
|
78
|
+
|
|
45
79
|
def get_geometry_in(fname, inlines):
|
|
46
80
|
geometry_path_in = os.path.join(fname, "STRU")
|
|
47
81
|
for line in inlines:
|
|
@@ -63,8 +97,8 @@ def get_path_out(fname, inlines):
|
|
|
63
97
|
|
|
64
98
|
|
|
65
99
|
def get_cell(geometry_inlines):
|
|
66
|
-
cell_lines =
|
|
67
|
-
celldm_lines =
|
|
100
|
+
cell_lines = get_stru_block(geometry_inlines, "LATTICE_VECTORS")
|
|
101
|
+
celldm_lines = get_stru_block(geometry_inlines, "LATTICE_CONSTANT")
|
|
68
102
|
|
|
69
103
|
celldm = float(celldm_lines[0].split()[0]) * bohr2ang # lattice const is in Bohr
|
|
70
104
|
cell = []
|
|
@@ -75,7 +109,7 @@ def get_cell(geometry_inlines):
|
|
|
75
109
|
|
|
76
110
|
|
|
77
111
|
def get_coords(celldm, cell, geometry_inlines, inlines=None):
|
|
78
|
-
coords_lines =
|
|
112
|
+
coords_lines = get_stru_block(geometry_inlines, "ATOMIC_POSITIONS")
|
|
79
113
|
# assuming that ATOMIC_POSITIONS is at the bottom of the STRU file
|
|
80
114
|
coord_type = coords_lines[0].split()[0].lower() # cartisan or direct
|
|
81
115
|
atom_names = [] # element abbr in periodic table
|
|
@@ -123,33 +157,79 @@ def get_energy(outlines):
|
|
|
123
157
|
return Etot, False
|
|
124
158
|
|
|
125
159
|
|
|
126
|
-
def
|
|
160
|
+
def collect_force(outlines):
|
|
127
161
|
force = []
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
162
|
+
for i, line in enumerate(outlines):
|
|
163
|
+
if "TOTAL-FORCE (eV/Angstrom)" in line:
|
|
164
|
+
value_pattern = re.compile(
|
|
165
|
+
r"^\s*[A-Z][a-z]?[1-9][0-9]*\s+[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?\s+[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?\s+[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?\s*$"
|
|
166
|
+
)
|
|
167
|
+
j = i
|
|
168
|
+
# find the first line of force
|
|
169
|
+
noforce = False
|
|
170
|
+
while not value_pattern.match(outlines[j]):
|
|
171
|
+
j += 1
|
|
172
|
+
if (
|
|
173
|
+
j >= i + 10
|
|
174
|
+
): # if can not find the first line of force in 10 lines, then stop
|
|
175
|
+
warnings.warn("Warning: can not find the first line of force")
|
|
176
|
+
noforce = True
|
|
177
|
+
break
|
|
178
|
+
if noforce:
|
|
179
|
+
break
|
|
180
|
+
|
|
181
|
+
force.append([])
|
|
182
|
+
while value_pattern.match(outlines[j]):
|
|
183
|
+
force[-1].append([float(ii) for ii in outlines[j].split()[1:4]])
|
|
184
|
+
j += 1
|
|
185
|
+
return force # only return the last force
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
def get_force(outlines, natoms):
|
|
189
|
+
force = collect_force(outlines)
|
|
190
|
+
if len(force) == 0:
|
|
135
191
|
return [[]]
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
force = np.array(force)
|
|
139
|
-
return force
|
|
192
|
+
else:
|
|
193
|
+
return np.array(force[-1]) # only return the last force
|
|
140
194
|
|
|
141
195
|
|
|
142
|
-
def
|
|
196
|
+
def collect_stress(outlines):
|
|
143
197
|
stress = []
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
198
|
+
for i, line in enumerate(outlines):
|
|
199
|
+
if "TOTAL-STRESS (KBAR)" in line:
|
|
200
|
+
value_pattern = re.compile(
|
|
201
|
+
r"^\s*[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?\s+[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?\s+[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?\s*$"
|
|
202
|
+
)
|
|
203
|
+
j = i
|
|
204
|
+
nostress = False
|
|
205
|
+
while not value_pattern.match(outlines[j]):
|
|
206
|
+
j += 1
|
|
207
|
+
if (
|
|
208
|
+
j >= i + 10
|
|
209
|
+
): # if can not find the first line of stress in 10 lines, then stop
|
|
210
|
+
warnings.warn("Warning: can not find the first line of stress")
|
|
211
|
+
nostress = True
|
|
212
|
+
break
|
|
213
|
+
if nostress:
|
|
214
|
+
break
|
|
215
|
+
|
|
216
|
+
stress.append([])
|
|
217
|
+
while value_pattern.match(outlines[j]):
|
|
218
|
+
stress[-1].append(
|
|
219
|
+
list(map(lambda x: float(x), outlines[j].split()[0:3]))
|
|
220
|
+
)
|
|
221
|
+
j += 1
|
|
150
222
|
return stress
|
|
151
223
|
|
|
152
224
|
|
|
225
|
+
def get_stress(outlines):
|
|
226
|
+
stress = collect_stress(outlines)
|
|
227
|
+
if len(stress) == 0:
|
|
228
|
+
return None
|
|
229
|
+
else:
|
|
230
|
+
return np.array(stress[-1]) * kbar2evperang3 # only return the last stress
|
|
231
|
+
|
|
232
|
+
|
|
153
233
|
def get_frame(fname):
|
|
154
234
|
data = {
|
|
155
235
|
"atom_names": [],
|
|
@@ -2,7 +2,7 @@ import os
|
|
|
2
2
|
import re
|
|
3
3
|
|
|
4
4
|
import numpy as np
|
|
5
|
-
from scipy.io import
|
|
5
|
+
from scipy.io import netcdf_file
|
|
6
6
|
|
|
7
7
|
from dpdata.amber.mask import pick_by_amber_mask
|
|
8
8
|
from dpdata.unit import EnergyConversion
|
|
@@ -77,7 +77,7 @@ def read_amber_traj(
|
|
|
77
77
|
for ii in use_element_symbols:
|
|
78
78
|
amber_types[ii] = symbols[atomic_number[ii]]
|
|
79
79
|
|
|
80
|
-
with
|
|
80
|
+
with netcdf_file(nc_file, "r") as f:
|
|
81
81
|
coords = np.array(f.variables["coordinates"][:])
|
|
82
82
|
cell_lengths = np.array(f.variables["cell_lengths"][:])
|
|
83
83
|
cell_angles = np.array(f.variables["cell_angles"][:])
|
|
@@ -92,7 +92,7 @@ def read_amber_traj(
|
|
|
92
92
|
raise RuntimeError("Unsupported cells")
|
|
93
93
|
|
|
94
94
|
if labeled:
|
|
95
|
-
with
|
|
95
|
+
with netcdf_file(mdfrc_file, "r") as f:
|
|
96
96
|
forces = np.array(f.variables["forces"][:])
|
|
97
97
|
|
|
98
98
|
# load energy from mden_file or mdout_file
|
|
@@ -76,12 +76,14 @@ class Cp2kSystems:
|
|
|
76
76
|
def get_log_block_generator(self):
|
|
77
77
|
lines = []
|
|
78
78
|
delimiter_flag = False
|
|
79
|
+
yield_flag = False
|
|
79
80
|
while True:
|
|
80
81
|
line = self.log_file_object.readline()
|
|
81
82
|
if line:
|
|
82
83
|
lines.append(line)
|
|
83
84
|
if any(p.match(line) for p in delimiter_patterns):
|
|
84
85
|
if delimiter_flag is True:
|
|
86
|
+
yield_flag = True
|
|
85
87
|
yield lines
|
|
86
88
|
lines = []
|
|
87
89
|
delimiter_flag = False
|
|
@@ -91,17 +93,23 @@ class Cp2kSystems:
|
|
|
91
93
|
if any(p.match(line) for p in avail_patterns):
|
|
92
94
|
delimiter_flag = True
|
|
93
95
|
else:
|
|
96
|
+
if not yield_flag:
|
|
97
|
+
raise StopIteration("None of the delimiter patterns are matched")
|
|
94
98
|
break
|
|
95
99
|
if delimiter_flag is True:
|
|
96
100
|
raise RuntimeError("This file lacks some content, please check")
|
|
97
101
|
|
|
98
102
|
def get_xyz_block_generator(self):
|
|
99
103
|
p3 = re.compile(r"^\s*(\d+)\s*")
|
|
104
|
+
yield_flag = False
|
|
100
105
|
while True:
|
|
101
106
|
line = self.xyz_file_object.readline()
|
|
102
107
|
if not line:
|
|
108
|
+
if not yield_flag:
|
|
109
|
+
raise StopIteration("None of the xyz patterns are matched")
|
|
103
110
|
break
|
|
104
111
|
if p3.match(line):
|
|
112
|
+
yield_flag = True
|
|
105
113
|
atom_num = int(p3.match(line).group(1))
|
|
106
114
|
lines = []
|
|
107
115
|
lines.append(line)
|
|
@@ -109,9 +117,7 @@ class Cp2kSystems:
|
|
|
109
117
|
lines.append(self.xyz_file_object.readline())
|
|
110
118
|
if not lines[-1]:
|
|
111
119
|
raise RuntimeError(
|
|
112
|
-
"this xyz file may lack of lines, should be {};lines:{}"
|
|
113
|
-
atom_num + 2, lines
|
|
114
|
-
)
|
|
120
|
+
f"this xyz file may lack of lines, should be {atom_num + 2};lines:{lines}"
|
|
115
121
|
)
|
|
116
122
|
yield lines
|
|
117
123
|
|