ion-CSP 2.2.2__tar.gz → 2.2.3__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.
- {ion_csp-2.2.2 → ion_csp-2.2.3}/.gitignore +1 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/CHANGELOG.md +14 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/PKG-INFO +1 -1
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/__init__.py +2 -2
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/mlp_opt.py +2 -6
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP.egg-info/PKG-INFO +1 -1
- {ion_csp-2.2.2 → ion_csp-2.2.3}/.dockerignore +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/.github/workflows/conda-env-build.yml +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/.github/workflows/pypi-publish.yml +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/.vscode/settings.json +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/CODE_OF_CONDUCT.md +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/CONTRIBUTING.md +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/Dockerfile +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/LICENSE +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/MANIFEST.in +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/README.md +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/SECURITY.md +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/config/complete_config.yaml +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/config/simple_config.yaml +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/config/usage.md +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/docs/example_usage_CSP.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/docs/example_usage_EE.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/docs/index.md +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/docs/usage.md +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/environment.yml +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/examples/example_1/config.yaml +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/examples/example_1/ions.csv +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/examples/example_2/combo_1/ACEGUL.gjf +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/examples/example_2/combo_1/AGIDOM.gjf +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/examples/example_2/combo_1/config.yaml +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/examples/example_usage.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/examples/server/example_local_machine.yaml +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/examples/server/example_local_resources.yaml +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/examples/server/example_remote_machine.yaml +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/examples/server/example_remote_resources.yaml +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/makefile +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/model/model.pt +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/model/options/README.md +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/model/options/model.ckpt-4000000.pt +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/param/INCAR_0 +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/param/INCAR_1 +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/param/INCAR_2 +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/param/INCAR_3 +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/param/POTCAR_C +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/param/POTCAR_H +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/param/POTCAR_N +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/param/POTCAR_O +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/param/g16_sub.sh +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/param/sub_final.sh +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/param/sub_ori.sh +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/param/sub_supple.sh +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/pyproject.toml +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/requirements.txt +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/scripts/CLI.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/scripts/CLI.sh +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/scripts/main_CSP.sh +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/scripts/main_EE.sh +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/scripts/update_changelog.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/setup.cfg +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/setup.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/__init__.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/__main__.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/convert_SMILES.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/empirical_estimate.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/gen_opt.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/identify_molecules.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/log_and_time.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/model/model.pt +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/model/options/README.md +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/model/options/model.ckpt-4000000.pt +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/INCAR_0 +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/INCAR_1 +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/INCAR_2 +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/INCAR_3 +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/POTCAR_C +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/POTCAR_H +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/POTCAR_N +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/POTCAR_O +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/g16_sub.sh +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/sub_final.sh +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/sub_ori.sh +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/sub_supple.sh +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/read_mlp_density.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/run/__init__.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/run/main_CSP.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/run/main_EE.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/run/run_convert_SMILES.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/run/run_empirical_estimate.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/run/run_gen_opt.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/run/run_read_mlp_density.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/run/run_upload_download.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/run/run_vasp_processing.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/steps_opt_monitor.sh +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/task_manager.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/upload_download.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/vasp_processing.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP.egg-info/SOURCES.txt +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP.egg-info/dependency_links.txt +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP.egg-info/entry_points.txt +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP.egg-info/requires.txt +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP.egg-info/top_level.txt +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/tests/__init__.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/tests/test_identify_molecules.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/tests/test_log_and_time.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/tests/test_task_manager.py +0 -0
- {ion_csp-2.2.2 → ion_csp-2.2.3}/uv.lock +0 -0
@@ -2,6 +2,20 @@
|
|
2
2
|
|
3
3
|
## Latest Changes
|
4
4
|
|
5
|
+
### 12e7aa8 (2025-07-10)
|
6
|
+
|
7
|
+
Update version number to 2.2.3, remove redundant egg info files, and add ignore for *. egg info.
|
8
|
+
|
9
|
+
### 42fad92 (2025-07-10)
|
10
|
+
|
11
|
+
Stabilized version functionality, restored import of cell filters, and resumed use of UnitCellFilter to optimize atomic structure pressure constraints.
|
12
|
+
|
13
|
+
## V2.2.2
|
14
|
+
|
15
|
+
### 19a1b2d (2025-07-04)
|
16
|
+
|
17
|
+
Adjust the sleep time in task_manager and add molecular recognition test cases.
|
18
|
+
|
5
19
|
### d914d90 (2025-07-03)
|
6
20
|
|
7
21
|
Update the version to 2.2.2. The redundant output content of the console is greatly reduced to control the size of the console. log file. Specifically, the redundant log records are reduced in gen_opt when exceptions occur in the structure generation process, and the redundant log records in gen_opt and read_mlp_density are reduced when calling the phonopy toolkit.
|
@@ -10,17 +10,14 @@ import numpy as np
|
|
10
10
|
import multiprocessing
|
11
11
|
from ase.io.vasp import read_vasp
|
12
12
|
from ase.optimize import LBFGS
|
13
|
-
|
14
|
-
from ase.filters import ExpCellFilter
|
13
|
+
from ase.constraints import UnitCellFilter
|
15
14
|
from deepmd.calculator import DP
|
16
|
-
# from mattersim.forcefield import MatterSimCalculator
|
17
15
|
|
18
16
|
# 根据脚本位置确定model.pt文件的位置, 减少错误发生
|
19
17
|
base_dir = os.path.dirname(__file__)
|
20
18
|
relative_path = './model.pt'
|
21
19
|
file_path = os.path.join(base_dir, relative_path)
|
22
20
|
calc = DP(file_path)
|
23
|
-
# calc = MatterSimCalculator(device="cuda")
|
24
21
|
|
25
22
|
|
26
23
|
def get_element_num(elements):
|
@@ -162,8 +159,7 @@ def run_opt(index: int):
|
|
162
159
|
aim_stress = 1.0 * pstress * 0.01 * 0.6242 / 10.0
|
163
160
|
atoms = read_vasp('POSCAR_'+str(index))
|
164
161
|
atoms.calc = calc
|
165
|
-
|
166
|
-
ucf = ExpCellFilter(atoms, scalar_pressure=aim_stress)
|
162
|
+
ucf = UnitCellFilter(atoms, scalar_pressure=aim_stress)
|
167
163
|
# optimization
|
168
164
|
opt = LBFGS(ucf)
|
169
165
|
opt.run(fmax=fmax,steps=Opt_Step)
|
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
|
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
|