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.
Files changed (106) hide show
  1. {ion_csp-2.2.2 → ion_csp-2.2.3}/.gitignore +1 -0
  2. {ion_csp-2.2.2 → ion_csp-2.2.3}/CHANGELOG.md +14 -0
  3. {ion_csp-2.2.2 → ion_csp-2.2.3}/PKG-INFO +1 -1
  4. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/__init__.py +2 -2
  5. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/mlp_opt.py +2 -6
  6. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP.egg-info/PKG-INFO +1 -1
  7. {ion_csp-2.2.2 → ion_csp-2.2.3}/.dockerignore +0 -0
  8. {ion_csp-2.2.2 → ion_csp-2.2.3}/.github/workflows/conda-env-build.yml +0 -0
  9. {ion_csp-2.2.2 → ion_csp-2.2.3}/.github/workflows/pypi-publish.yml +0 -0
  10. {ion_csp-2.2.2 → ion_csp-2.2.3}/.vscode/settings.json +0 -0
  11. {ion_csp-2.2.2 → ion_csp-2.2.3}/CODE_OF_CONDUCT.md +0 -0
  12. {ion_csp-2.2.2 → ion_csp-2.2.3}/CONTRIBUTING.md +0 -0
  13. {ion_csp-2.2.2 → ion_csp-2.2.3}/Dockerfile +0 -0
  14. {ion_csp-2.2.2 → ion_csp-2.2.3}/LICENSE +0 -0
  15. {ion_csp-2.2.2 → ion_csp-2.2.3}/MANIFEST.in +0 -0
  16. {ion_csp-2.2.2 → ion_csp-2.2.3}/README.md +0 -0
  17. {ion_csp-2.2.2 → ion_csp-2.2.3}/SECURITY.md +0 -0
  18. {ion_csp-2.2.2 → ion_csp-2.2.3}/config/complete_config.yaml +0 -0
  19. {ion_csp-2.2.2 → ion_csp-2.2.3}/config/simple_config.yaml +0 -0
  20. {ion_csp-2.2.2 → ion_csp-2.2.3}/config/usage.md +0 -0
  21. {ion_csp-2.2.2 → ion_csp-2.2.3}/docs/example_usage_CSP.py +0 -0
  22. {ion_csp-2.2.2 → ion_csp-2.2.3}/docs/example_usage_EE.py +0 -0
  23. {ion_csp-2.2.2 → ion_csp-2.2.3}/docs/index.md +0 -0
  24. {ion_csp-2.2.2 → ion_csp-2.2.3}/docs/usage.md +0 -0
  25. {ion_csp-2.2.2 → ion_csp-2.2.3}/environment.yml +0 -0
  26. {ion_csp-2.2.2 → ion_csp-2.2.3}/examples/example_1/config.yaml +0 -0
  27. {ion_csp-2.2.2 → ion_csp-2.2.3}/examples/example_1/ions.csv +0 -0
  28. {ion_csp-2.2.2 → ion_csp-2.2.3}/examples/example_2/combo_1/ACEGUL.gjf +0 -0
  29. {ion_csp-2.2.2 → ion_csp-2.2.3}/examples/example_2/combo_1/AGIDOM.gjf +0 -0
  30. {ion_csp-2.2.2 → ion_csp-2.2.3}/examples/example_2/combo_1/config.yaml +0 -0
  31. {ion_csp-2.2.2 → ion_csp-2.2.3}/examples/example_usage.py +0 -0
  32. {ion_csp-2.2.2 → ion_csp-2.2.3}/examples/server/example_local_machine.yaml +0 -0
  33. {ion_csp-2.2.2 → ion_csp-2.2.3}/examples/server/example_local_resources.yaml +0 -0
  34. {ion_csp-2.2.2 → ion_csp-2.2.3}/examples/server/example_remote_machine.yaml +0 -0
  35. {ion_csp-2.2.2 → ion_csp-2.2.3}/examples/server/example_remote_resources.yaml +0 -0
  36. {ion_csp-2.2.2 → ion_csp-2.2.3}/makefile +0 -0
  37. {ion_csp-2.2.2 → ion_csp-2.2.3}/model/model.pt +0 -0
  38. {ion_csp-2.2.2 → ion_csp-2.2.3}/model/options/README.md +0 -0
  39. {ion_csp-2.2.2 → ion_csp-2.2.3}/model/options/model.ckpt-4000000.pt +0 -0
  40. {ion_csp-2.2.2 → ion_csp-2.2.3}/param/INCAR_0 +0 -0
  41. {ion_csp-2.2.2 → ion_csp-2.2.3}/param/INCAR_1 +0 -0
  42. {ion_csp-2.2.2 → ion_csp-2.2.3}/param/INCAR_2 +0 -0
  43. {ion_csp-2.2.2 → ion_csp-2.2.3}/param/INCAR_3 +0 -0
  44. {ion_csp-2.2.2 → ion_csp-2.2.3}/param/POTCAR_C +0 -0
  45. {ion_csp-2.2.2 → ion_csp-2.2.3}/param/POTCAR_H +0 -0
  46. {ion_csp-2.2.2 → ion_csp-2.2.3}/param/POTCAR_N +0 -0
  47. {ion_csp-2.2.2 → ion_csp-2.2.3}/param/POTCAR_O +0 -0
  48. {ion_csp-2.2.2 → ion_csp-2.2.3}/param/g16_sub.sh +0 -0
  49. {ion_csp-2.2.2 → ion_csp-2.2.3}/param/sub_final.sh +0 -0
  50. {ion_csp-2.2.2 → ion_csp-2.2.3}/param/sub_ori.sh +0 -0
  51. {ion_csp-2.2.2 → ion_csp-2.2.3}/param/sub_supple.sh +0 -0
  52. {ion_csp-2.2.2 → ion_csp-2.2.3}/pyproject.toml +0 -0
  53. {ion_csp-2.2.2 → ion_csp-2.2.3}/requirements.txt +0 -0
  54. {ion_csp-2.2.2 → ion_csp-2.2.3}/scripts/CLI.py +0 -0
  55. {ion_csp-2.2.2 → ion_csp-2.2.3}/scripts/CLI.sh +0 -0
  56. {ion_csp-2.2.2 → ion_csp-2.2.3}/scripts/main_CSP.sh +0 -0
  57. {ion_csp-2.2.2 → ion_csp-2.2.3}/scripts/main_EE.sh +0 -0
  58. {ion_csp-2.2.2 → ion_csp-2.2.3}/scripts/update_changelog.py +0 -0
  59. {ion_csp-2.2.2 → ion_csp-2.2.3}/setup.cfg +0 -0
  60. {ion_csp-2.2.2 → ion_csp-2.2.3}/setup.py +0 -0
  61. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/__init__.py +0 -0
  62. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/__main__.py +0 -0
  63. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/convert_SMILES.py +0 -0
  64. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/empirical_estimate.py +0 -0
  65. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/gen_opt.py +0 -0
  66. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/identify_molecules.py +0 -0
  67. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/log_and_time.py +0 -0
  68. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/model/model.pt +0 -0
  69. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/model/options/README.md +0 -0
  70. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/model/options/model.ckpt-4000000.pt +0 -0
  71. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/INCAR_0 +0 -0
  72. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/INCAR_1 +0 -0
  73. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/INCAR_2 +0 -0
  74. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/INCAR_3 +0 -0
  75. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/POTCAR_C +0 -0
  76. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/POTCAR_H +0 -0
  77. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/POTCAR_N +0 -0
  78. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/POTCAR_O +0 -0
  79. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/g16_sub.sh +0 -0
  80. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/sub_final.sh +0 -0
  81. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/sub_ori.sh +0 -0
  82. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/param/sub_supple.sh +0 -0
  83. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/read_mlp_density.py +0 -0
  84. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/run/__init__.py +0 -0
  85. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/run/main_CSP.py +0 -0
  86. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/run/main_EE.py +0 -0
  87. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/run/run_convert_SMILES.py +0 -0
  88. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/run/run_empirical_estimate.py +0 -0
  89. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/run/run_gen_opt.py +0 -0
  90. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/run/run_read_mlp_density.py +0 -0
  91. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/run/run_upload_download.py +0 -0
  92. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/run/run_vasp_processing.py +0 -0
  93. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/steps_opt_monitor.sh +0 -0
  94. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/task_manager.py +0 -0
  95. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/upload_download.py +0 -0
  96. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP/vasp_processing.py +0 -0
  97. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP.egg-info/SOURCES.txt +0 -0
  98. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP.egg-info/dependency_links.txt +0 -0
  99. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP.egg-info/entry_points.txt +0 -0
  100. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP.egg-info/requires.txt +0 -0
  101. {ion_csp-2.2.2 → ion_csp-2.2.3}/src/ion_CSP.egg-info/top_level.txt +0 -0
  102. {ion_csp-2.2.2 → ion_csp-2.2.3}/tests/__init__.py +0 -0
  103. {ion_csp-2.2.2 → ion_csp-2.2.3}/tests/test_identify_molecules.py +0 -0
  104. {ion_csp-2.2.2 → ion_csp-2.2.3}/tests/test_log_and_time.py +0 -0
  105. {ion_csp-2.2.2 → ion_csp-2.2.3}/tests/test_task_manager.py +0 -0
  106. {ion_csp-2.2.2 → ion_csp-2.2.3}/uv.lock +0 -0
@@ -5,6 +5,7 @@ venv/
5
5
  # 编译文件
6
6
  __pycache__/
7
7
  *.pyc
8
+ *.egg-info/
8
9
 
9
10
  # IDE 配置
10
11
  .idea/
@@ -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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ion_CSP
3
- Version: 2.2.2
3
+ Version: 2.2.3
4
4
  Summary: Crystal Structure Design Software Based on Molecular/Ionic Configuration.
5
5
  Home-page: https://github.com/bagabaga007/ion_CSP
6
6
  Author: Ze Yang
@@ -1,8 +1,8 @@
1
1
  __author__ = "Ze Yang"
2
2
  __contact__ = "yangze1995007@163.com"
3
3
  __license__ = "MIT"
4
- __version__ = "2.2.2"
5
- __date__ = "2025-07-02"
4
+ __version__ = "2.2.3"
5
+ __date__ = "2025-07-10"
6
6
 
7
7
 
8
8
  try:
@@ -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
- # from ase.constraints import UnitCellFilter
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
- # ucf = UnitCellFilter(atoms, scalar_pressure=aim_stress)
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)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ion_CSP
3
- Version: 2.2.2
3
+ Version: 2.2.3
4
4
  Summary: Crystal Structure Design Software Based on Molecular/Ionic Configuration.
5
5
  Home-page: https://github.com/bagabaga007/ion_CSP
6
6
  Author: Ze Yang
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