pwdata 0.3.0__tar.gz → 0.3.1__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.3.0 → pwdata-0.3.1}/PKG-INFO +1 -1
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/datasets_saver.py +2 -2
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata.egg-info/PKG-INFO +1 -1
- {pwdata-0.3.0 → pwdata-0.3.1}/setup.py +1 -1
- {pwdata-0.3.0 → pwdata-0.3.1}/LICENSE +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/README.md +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/__init__.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/atomconfig.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/build/__init__.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/build/cell.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/build/geometry.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/build/supercells.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/build/write_struc.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/calculators/__init__.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/calculators/const.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/calculators/unitconvert_lmps.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/calculators/units.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/check_envs.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/cp2kdata.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/deepmd.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/dump.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/extendedxyz.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/image.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/lammpsdata.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/lmps.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/main.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/movement.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/movement_saver.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/outcar.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/pertub/__init__.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/pertub/perturbation.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/pertub/scale.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/poscar.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/pwmlff.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata/test.py +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata.egg-info/SOURCES.txt +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata.egg-info/dependency_links.txt +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/pwdata.egg-info/top_level.txt +0 -0
- {pwdata-0.3.0 → pwdata-0.3.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pwdata
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
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
|
|
@@ -173,7 +173,7 @@ def get_pw(image_data):
|
|
|
173
173
|
all_energies.append(image.Ep)
|
|
174
174
|
all_forces.append(image.force)
|
|
175
175
|
all_ei.append(image.atomic_energy)
|
|
176
|
-
if len(image.virial) != 0:
|
|
176
|
+
if mage.virial is not None and len(image.virial) != 0:
|
|
177
177
|
all_virials.append(image.virial)
|
|
178
178
|
image_nums = len(image_data)
|
|
179
179
|
atom_type = np.array(image.atom_type).reshape(1, -1)
|
|
@@ -185,4 +185,4 @@ def get_pw(image_data):
|
|
|
185
185
|
all_ei = np.array(all_ei).reshape(image_nums, -1)
|
|
186
186
|
if len(all_virials) != 0:
|
|
187
187
|
all_virials = np.array(all_virials).reshape(image_nums, -1)
|
|
188
|
-
return all_lattices, all_postions, all_energies, all_ei, all_forces, all_virials, atom_type, atom_types_image, image_nums
|
|
188
|
+
return all_lattices, all_postions, all_energies, all_ei, all_forces, all_virials, atom_type, atom_types_image, image_nums
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pwdata
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
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.3.
|
|
8
|
+
version="0.3.1",
|
|
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
|