pwdata 0.4.1__tar.gz → 0.4.2__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.
Potentially problematic release.
This version of pwdata might be problematic. Click here for more details.
- {pwdata-0.4.1 → pwdata-0.4.2}/PKG-INFO +1 -1
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/main.py +1 -1
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/meta.py +3 -3
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata.egg-info/PKG-INFO +1 -1
- {pwdata-0.4.1 → pwdata-0.4.2}/setup.py +1 -1
- {pwdata-0.4.1 → pwdata-0.4.2}/LICENSE +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/README.md +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/__init__.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/atomconfig.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/build/__init__.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/build/cell.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/build/geometry.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/build/supercells.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/build/write_struc.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/calculators/__init__.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/calculators/const.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/calculators/unitconvert_lmps.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/calculators/units.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/check_envs.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/config.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/convert_files.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/cp2kdata.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/datasets_saver.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/deepmd.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/dump.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/extendedxyz.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/fairchem/__init__.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/fairchem/common/__init__.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/fairchem/common/registry.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/fairchem/common/typing.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/fairchem/common/utils.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/fairchem/datasets/__init__.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/fairchem/datasets/_utils.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/fairchem/datasets/ase_datasets.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/fairchem/datasets/base_dataset.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/fairchem/datasets/embeddings/__init__.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/fairchem/datasets/embeddings/atomic_radii.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/fairchem/datasets/embeddings/continuous_embeddings.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/fairchem/datasets/embeddings/khot_embeddings.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/fairchem/datasets/embeddings/qmof_khot_embeddings.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/fairchem/datasets/lmdb_database.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/fairchem/datasets/target_metadata_guesser.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/fairchem/modules/__init__.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/fairchem/modules/transforms.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/fairchem/preprocessing/__init__.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/image.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/lammpsdata.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/lmps.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/movement.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/movement_saver.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/outcar.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/pertub/__init__.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/pertub/perturbation.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/pertub/scale.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/poscar.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/pwmlff.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/test/__init__.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/test.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/utils/__init__.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata/utils/constant.py +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata.egg-info/SOURCES.txt +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata.egg-info/dependency_links.txt +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata.egg-info/entry_points.txt +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata.egg-info/requires.txt +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/pwdata.egg-info/top_level.txt +0 -0
- {pwdata-0.4.1 → pwdata-0.4.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pwdata
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.2
|
|
4
4
|
Summary: pwdata is a data pre-processing tool for PWMLFF, which can be used to extract features and labels. It also provides convenient interfaces for data conversion between different software.
|
|
5
5
|
Home-page: https://github.com/LonxunQuantum/pwdata
|
|
6
6
|
Author: LonxunQuantum
|
|
@@ -460,7 +460,7 @@ def run_convert_configs(cmd_list:list[str]):
|
|
|
460
460
|
parser.add_argument('-m', '--merge', type=int, required=False, default=1, help="if '-m 1' the output config files will save into one xyzfile. Otherwise, the out configs will be saved separately according to the structural element types. The default value is 1")
|
|
461
461
|
parser.add_argument('-g', '--gap', help='Take a config every gap steps from the middle of the trajectory, default is 1', type=int, default=1)
|
|
462
462
|
parser.add_argument('-q', '--query', type=str, required=False, help='For meta data, advanced query statement, filter Mata data based on query criteria, detailed usage reference http://doc.lonxun.com/PWMLFF/Appendix-2', default=None)
|
|
463
|
-
parser.add_argument('-n', '--cpu_nums', type=int, required=False, help='For meta data, parallel reading of meta databases using kernel count, default to using all available cores'
|
|
463
|
+
parser.add_argument('-n', '--cpu_nums', type=int, default=1, required=False, help='For meta data, parallel reading of meta databases using kernel count, default to using all available cores')
|
|
464
464
|
parser.add_argument('-t', '--atom_types', type=str, required=False, nargs='+', help="For 'lammps/lmp', 'lammps/dump': the atom type list of lammps lmp/dump file, the order is same as lammps dump file.\nFor meta data: Query structures that only exist for that element type", default=None)
|
|
465
465
|
|
|
466
466
|
args = parser.parse_args(cmd_list)
|
|
@@ -158,9 +158,9 @@ def to_image(Atoms):
|
|
|
158
158
|
image.Ep = Atoms.energy
|
|
159
159
|
|
|
160
160
|
# 计算 Atomic-Energy
|
|
161
|
-
atomic_energy, _, _, _ = np.linalg.lstsq([image.atom_type_num], np.array([image.Ep]), rcond=1e-3)
|
|
162
|
-
atomic_energy = np.repeat(atomic_energy, image.atom_type_num)
|
|
163
|
-
image.atomic_energy = atomic_energy.tolist()
|
|
161
|
+
# atomic_energy, _, _, _ = np.linalg.lstsq([image.atom_type_num], np.array([image.Ep]), rcond=1e-3)
|
|
162
|
+
# atomic_energy = np.repeat(atomic_energy, image.atom_type_num)
|
|
163
|
+
# image.atomic_energy = atomic_energy.tolist()
|
|
164
164
|
|
|
165
165
|
vol = Atoms.volume
|
|
166
166
|
virial = (-np.array(Atoms.stress) * vol)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pwdata
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.2
|
|
4
4
|
Summary: pwdata is a data pre-processing tool for PWMLFF, which can be used to extract features and labels. It also provides convenient interfaces for data conversion between different software.
|
|
5
5
|
Home-page: https://github.com/LonxunQuantum/pwdata
|
|
6
6
|
Author: LonxunQuantum
|
|
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
|
|
|
5
5
|
|
|
6
6
|
setuptools.setup(
|
|
7
7
|
name="pwdata",
|
|
8
|
-
version="0.4.
|
|
8
|
+
version="0.4.2",
|
|
9
9
|
author="LonxunQuantum",
|
|
10
10
|
author_email="lonxun@pwmat.com",
|
|
11
11
|
description="pwdata is a data pre-processing tool for PWMLFF, which can be used to extract features and labels. It also provides convenient interfaces for data conversion between different software.",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|