ion-CSP 2.1.8__tar.gz → 2.2.0__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 (109) hide show
  1. ion_csp-2.2.0/CHANGELOG.md +306 -0
  2. {ion_csp-2.1.8 → ion_csp-2.2.0}/PKG-INFO +2 -2
  3. {ion_csp-2.1.8 → ion_csp-2.2.0}/README.md +1 -1
  4. ion_csp-2.2.0/scripts/main_CSP.sh +4 -0
  5. ion_csp-2.2.0/scripts/main_EE.sh +4 -0
  6. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/__init__.py +3 -3
  7. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/convert_SMILES.py +7 -1
  8. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/empirical_estimate.py +229 -141
  9. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/run/main_EE.py +11 -13
  10. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/task_manager.py +1 -1
  11. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/vasp_processing.py +31 -136
  12. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP.egg-info/PKG-INFO +2 -2
  13. ion_csp-2.1.8/CHANGELOG.md +0 -93
  14. ion_csp-2.1.8/scripts/main_CSP.sh +0 -4
  15. ion_csp-2.1.8/scripts/main_EE.sh +0 -4
  16. {ion_csp-2.1.8 → ion_csp-2.2.0}/.dockerignore +0 -0
  17. {ion_csp-2.1.8 → ion_csp-2.2.0}/.github/workflows/conda-env-build.yml +0 -0
  18. {ion_csp-2.1.8 → ion_csp-2.2.0}/.github/workflows/pypi-publish.yml +0 -0
  19. {ion_csp-2.1.8 → ion_csp-2.2.0}/.gitignore +0 -0
  20. {ion_csp-2.1.8 → ion_csp-2.2.0}/.vscode/settings.json +0 -0
  21. {ion_csp-2.1.8 → ion_csp-2.2.0}/CODE_OF_CONDUCT.md +0 -0
  22. {ion_csp-2.1.8 → ion_csp-2.2.0}/CONTRIBUTING.md +0 -0
  23. {ion_csp-2.1.8 → ion_csp-2.2.0}/Dockerfile +0 -0
  24. {ion_csp-2.1.8 → ion_csp-2.2.0}/LICENSE +0 -0
  25. {ion_csp-2.1.8 → ion_csp-2.2.0}/MANIFEST.in +0 -0
  26. {ion_csp-2.1.8 → ion_csp-2.2.0}/SECURITY.md +0 -0
  27. {ion_csp-2.1.8 → ion_csp-2.2.0}/config/complete_config.yaml +0 -0
  28. {ion_csp-2.1.8 → ion_csp-2.2.0}/config/simple_config.yaml +0 -0
  29. {ion_csp-2.1.8 → ion_csp-2.2.0}/config/usage.md +0 -0
  30. {ion_csp-2.1.8 → ion_csp-2.2.0}/docs/example_usage_CSP.py +0 -0
  31. {ion_csp-2.1.8 → ion_csp-2.2.0}/docs/example_usage_EE.py +0 -0
  32. {ion_csp-2.1.8 → ion_csp-2.2.0}/docs/index.md +0 -0
  33. {ion_csp-2.1.8 → ion_csp-2.2.0}/docs/usage.md +0 -0
  34. {ion_csp-2.1.8 → ion_csp-2.2.0}/environment.yml +0 -0
  35. {ion_csp-2.1.8 → ion_csp-2.2.0}/examples/example_1/config.yaml +0 -0
  36. {ion_csp-2.1.8 → ion_csp-2.2.0}/examples/example_1/ions.csv +0 -0
  37. {ion_csp-2.1.8 → ion_csp-2.2.0}/examples/example_2/combo_1/ACEGUL.gjf +0 -0
  38. {ion_csp-2.1.8 → ion_csp-2.2.0}/examples/example_2/combo_1/AGIDOM.gjf +0 -0
  39. {ion_csp-2.1.8 → ion_csp-2.2.0}/examples/example_2/combo_1/config.yaml +0 -0
  40. {ion_csp-2.1.8 → ion_csp-2.2.0}/examples/example_usage.py +0 -0
  41. {ion_csp-2.1.8 → ion_csp-2.2.0}/examples/server/example_local_machine.yaml +0 -0
  42. {ion_csp-2.1.8 → ion_csp-2.2.0}/examples/server/example_local_resources.yaml +0 -0
  43. {ion_csp-2.1.8 → ion_csp-2.2.0}/examples/server/example_remote_machine.yaml +0 -0
  44. {ion_csp-2.1.8 → ion_csp-2.2.0}/examples/server/example_remote_resources.yaml +0 -0
  45. {ion_csp-2.1.8 → ion_csp-2.2.0}/makefile +0 -0
  46. {ion_csp-2.1.8 → ion_csp-2.2.0}/model/model.pt +0 -0
  47. {ion_csp-2.1.8 → ion_csp-2.2.0}/model/options/README.md +0 -0
  48. {ion_csp-2.1.8 → ion_csp-2.2.0}/model/options/model.ckpt-4000000.pt +0 -0
  49. {ion_csp-2.1.8 → ion_csp-2.2.0}/param/INCAR_0 +0 -0
  50. {ion_csp-2.1.8 → ion_csp-2.2.0}/param/INCAR_1 +0 -0
  51. {ion_csp-2.1.8 → ion_csp-2.2.0}/param/INCAR_2 +0 -0
  52. {ion_csp-2.1.8 → ion_csp-2.2.0}/param/INCAR_3 +0 -0
  53. {ion_csp-2.1.8 → ion_csp-2.2.0}/param/POTCAR_C +0 -0
  54. {ion_csp-2.1.8 → ion_csp-2.2.0}/param/POTCAR_H +0 -0
  55. {ion_csp-2.1.8 → ion_csp-2.2.0}/param/POTCAR_N +0 -0
  56. {ion_csp-2.1.8 → ion_csp-2.2.0}/param/POTCAR_O +0 -0
  57. {ion_csp-2.1.8 → ion_csp-2.2.0}/param/g16_sub.sh +0 -0
  58. {ion_csp-2.1.8 → ion_csp-2.2.0}/param/sub_final.sh +0 -0
  59. {ion_csp-2.1.8 → ion_csp-2.2.0}/param/sub_ori.sh +0 -0
  60. {ion_csp-2.1.8 → ion_csp-2.2.0}/param/sub_supple.sh +0 -0
  61. {ion_csp-2.1.8 → ion_csp-2.2.0}/pyproject.toml +0 -0
  62. {ion_csp-2.1.8 → ion_csp-2.2.0}/requirements.txt +0 -0
  63. {ion_csp-2.1.8 → ion_csp-2.2.0}/scripts/CLI.py +0 -0
  64. {ion_csp-2.1.8 → ion_csp-2.2.0}/scripts/CLI.sh +0 -0
  65. {ion_csp-2.1.8 → ion_csp-2.2.0}/scripts/update_changelog.py +0 -0
  66. {ion_csp-2.1.8 → ion_csp-2.2.0}/setup.cfg +0 -0
  67. {ion_csp-2.1.8 → ion_csp-2.2.0}/setup.py +0 -0
  68. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/__init__.py +0 -0
  69. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/__main__.py +0 -0
  70. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/gen_opt.py +0 -0
  71. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/identify_molecules.py +0 -0
  72. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/log_and_time.py +0 -0
  73. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/mlp_opt.py +0 -0
  74. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/model/model.pt +0 -0
  75. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/model/options/README.md +0 -0
  76. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/model/options/model.ckpt-4000000.pt +0 -0
  77. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/param/INCAR_0 +0 -0
  78. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/param/INCAR_1 +0 -0
  79. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/param/INCAR_2 +0 -0
  80. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/param/INCAR_3 +0 -0
  81. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/param/POTCAR_C +0 -0
  82. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/param/POTCAR_H +0 -0
  83. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/param/POTCAR_N +0 -0
  84. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/param/POTCAR_O +0 -0
  85. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/param/g16_sub.sh +0 -0
  86. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/param/sub_final.sh +0 -0
  87. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/param/sub_ori.sh +0 -0
  88. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/param/sub_supple.sh +0 -0
  89. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/read_mlp_density.py +0 -0
  90. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/run/__init__.py +0 -0
  91. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/run/main_CSP.py +0 -0
  92. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/run/run_convert_SMILES.py +0 -0
  93. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/run/run_empirical_estimate.py +0 -0
  94. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/run/run_gen_opt.py +0 -0
  95. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/run/run_read_mlp_density.py +0 -0
  96. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/run/run_upload_download.py +0 -0
  97. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/run/run_vasp_processing.py +0 -0
  98. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/steps_opt_monitor.sh +0 -0
  99. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP/upload_download.py +0 -0
  100. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP.egg-info/SOURCES.txt +0 -0
  101. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP.egg-info/dependency_links.txt +0 -0
  102. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP.egg-info/entry_points.txt +0 -0
  103. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP.egg-info/requires.txt +0 -0
  104. {ion_csp-2.1.8 → ion_csp-2.2.0}/src/ion_CSP.egg-info/top_level.txt +0 -0
  105. {ion_csp-2.1.8 → ion_csp-2.2.0}/tests/__init__.py +0 -0
  106. {ion_csp-2.1.8 → ion_csp-2.2.0}/tests/test1_task_manager1.py +0 -0
  107. {ion_csp-2.1.8 → ion_csp-2.2.0}/tests/test_log_and_time.py +0 -0
  108. {ion_csp-2.1.8 → ion_csp-2.2.0}/tests/test_task_manager.py +0 -0
  109. {ion_csp-2.1.8 → ion_csp-2.2.0}/uv.lock +0 -0
@@ -0,0 +1,306 @@
1
+ # Changelog
2
+
3
+ ## Latest Changes
4
+
5
+ ### 14ffac2 (2025-06-27)
6
+
7
+ Update version number to 2.2.0, optimize file replication logic in VASP processing, add error handling to ensure errors are recorded when files do not exist, modify README and CHANGELOG to reflect the latest changes.
8
+
9
+ ## V2.1.9
10
+
11
+ ### 8ad4b47 (2025-06-27)
12
+
13
+ Modify the hooks of post-commit to use self-written python script.
14
+
15
+ ### 30a2f56 (2025-06-27)
16
+
17
+ Optimize the file copying logic in VASP processing to ensure that copying operations are only performed when files exist
18
+
19
+ ### 0acedac (2025-06-27)
20
+
21
+ Update the version number to 2.1.9, adjust the version detection error information in the task manager, optimize the error handling of multiple modules, optimize the EE workflow, make its operation and calling more stable, and work logic more rigorous.
22
+
23
+ ## V2.1.8
24
+
25
+ ### b534c0e (2025-06-23)
26
+
27
+ Update version number to 2.1.8, optimize error handling in code, and update multiple modules to improve readability and functionality.
28
+
29
+ ### b68c9ac (2025-06-19)
30
+
31
+ Update dependencies, improve documentation, and enhance error handling
32
+
33
+ ### 162ddc4 (2025-06-16)
34
+
35
+ Use git hooks to automatcally update CHANGELOG.md
36
+
37
+ ### 80f0d24 (2025-06-16)
38
+
39
+ Merge branch 'main' of https://github.com/Bagabaga007/ion_CSP
40
+
41
+ ### bf651e6 (2025-06-16)
42
+
43
+ Update GitHub Actions workflow to trigger builds upon release, modify the steps for updating CHANGELOG to ensure proper installation of dependencies, update version number to 2.1.6, and optimize the generation format of CHANGELOG.
44
+
45
+ ### 5c3c950 (2025-06-16)
46
+
47
+ Update update_changelog.yml
48
+
49
+ ### 346d034 (2025-06-16)
50
+
51
+ Update update_changelog.yml
52
+
53
+ ### 2ea0ac4 (2025-06-16)
54
+
55
+ Introduce importlib.resourses in multiple modules to improve file path management; Fix the module import path in the task manager.
56
+
57
+ ## V2.1.5
58
+
59
+ ### 934f0fa (2025-06-16)
60
+
61
+ Add dependency descriptions for the Scipy version; Fixed missing example 2 in the examples section.
62
+
63
+ ### 31087de (2025-06-16)
64
+
65
+ Update version to 2.1.5.
66
+
67
+ ### 3edd170 (2025-06-16)
68
+
69
+ Added the function of automatically updating CHANGELOG; Import configuration and data files through importlib.resosourced to fix file read errors in the pypi distribution package.
70
+
71
+ ## V2.1.4
72
+
73
+ ### ad5c1d7 (2025-06-13)
74
+
75
+ Optimize the packaging behavior when building pypi distribution packages to make them easier to use
76
+
77
+ ## V2.1.3
78
+
79
+ ### d503641 (2025-06-11)
80
+
81
+ Updata version to 2.1.3
82
+
83
+ ## V2.1.2
84
+
85
+ ### 1befcf7 (2025-06-09)
86
+
87
+ Implement centralized management of version numbers and automatic synchronization of multiple configuration files to ensure consistency and reliability in the construction process.
88
+
89
+ ## V2.1.1
90
+
91
+ ### bde5189 (2025-06-09)
92
+
93
+ Refactoring the project structure, configuring packaging parameters, and modifying sub process call logic to address the issue of module path failure in PyPI distribution packages; To modify VASP optimization steps in the workflow: 1 Rough optimization of limiting cell shape 2. Fine optimization of limiting cell shape 3. Final optimization without cell constraints
94
+
95
+ ### bb0d853 (2025-05-30)
96
+
97
+ Added usage and configuration examples in the project root directory. Added permission items in the CI Build workflow to enhance security. Added parameters to the example resources.yaml file to specify JOB_NAME to optimize the readability of jobs.
98
+
99
+ ### 80a3e3d (2025-05-23)
100
+
101
+ Add template configuration files and corresponding usage document in the config folder under the root directory
102
+
103
+ ### 7f383b0 (2025-05-21)
104
+
105
+ Adjust the installation method of the code, use git clone and pip install - e. commands to install the source code, and continue to optimize the use of code installed using distribution packages in the future. Correspondingly updated the version number and the documentation content of README.md.
106
+
107
+ ### 1d0d5fc (2025-05-16)
108
+
109
+ Modification of conda package build yml file.
110
+
111
+ ### 83f25cb (2025-05-16)
112
+
113
+ Modification of conda package build yml file.
114
+
115
+ ### 5540449 (2025-05-16)
116
+
117
+ Remove the flake8 installation in conda package construction.
118
+
119
+ ### 01af54c (2025-05-16)
120
+
121
+ Update information in README.md
122
+
123
+ ### cb7dcb0 (2025-05-15)
124
+
125
+ Ignore the big-size dist files
126
+
127
+ ### 1ff9020 (2025-05-13)
128
+
129
+ Update README.md and modified the yml file for github action of conda package build
130
+
131
+ ### 01f2095 (2025-05-13)
132
+
133
+ Modified yml file for github actions
134
+
135
+ ### 90bfd07 (2025-05-13)
136
+
137
+ Modified yml file for Github actions.
138
+
139
+ ### 6f29d21 (2025-05-13)
140
+
141
+ After machine learning potential optimization and structure filtering, CSV files were added to summarize the sequence number, density, and energy of the filtered structures, making it easier to visualize the interface.
142
+
143
+ ### f2a8abc (2025-05-09)
144
+
145
+ Modified the yml file for github actions
146
+
147
+ ### b5d1bcd (2025-05-09)
148
+
149
+ Merge branch 'main' of https://github.com/Bagabaga007/ion_CSP
150
+
151
+ ### bfec475 (2025-05-09)
152
+
153
+ Significantly optimized the program logic of the interactive entrance and fixed a large number of potential bugs. Integrate pagination display function to reduce code duplication. Add unit testing modules for this interactive entry program.
154
+
155
+ ### 30c455b (2025-04-25)
156
+
157
+ Create SECURITY.md
158
+
159
+ ### 070c86f (2025-04-25)
160
+
161
+ Add unit testing module for task_manager.
162
+
163
+ ### 72ccfad (2025-04-25)
164
+
165
+ Remove torchvision package dependencies to allow pip to attempt to solve the dependency conflict.
166
+
167
+ ### 049d915 (2025-04-25)
168
+
169
+ Fix the bug in environment.yml file
170
+
171
+ ### 3866521 (2025-04-25)
172
+
173
+ Adjust the depencies installation order
174
+
175
+ ### ff92e05 (2025-04-25)
176
+
177
+ Change some certain packages installation way to pip installation.
178
+
179
+ ### 24832ea (2025-04-25)
180
+
181
+ Remove invalid channel and adapt the mixed installation method.
182
+
183
+ ### c2a01ee (2025-04-25)
184
+
185
+ Update the corresponding information yml to resolve the conda environment configuration actions in Github
186
+
187
+ ### 0675303 (2025-04-25)
188
+
189
+ Add conda environment configuration
190
+
191
+ ### b91ee5c (2025-04-25)
192
+
193
+ Merge branch 'main' of https://github.com/Bagabaga007/ion_CSP
194
+
195
+ ### 15c4628 (2025-04-25)
196
+
197
+ Significantly optimized the logging system and task management of the interactive program entrance. The specific functions implemented include: real-time process monitoring (PID tracking), automatic symbolic linking of log files, process security termination and resource cleaning, log pagination browsing (10 entries/page), module filtering (CSP/EE), and soft link parsing to display the actual path. Greatly optimized the README.md file, providing bilingual support in both Chinese and English that is more in line with Python project specifications.
198
+
199
+ ### 7b1752b (2025-04-23)
200
+
201
+ Create python-package-conda.yml
202
+
203
+ ### 0cf8d07 (2025-04-23)
204
+
205
+ Merge branch 'main' of https://github.com/Bagabaga007/ion_CSP
206
+
207
+ ### ebf54e3 (2025-04-23)
208
+
209
+ Unified the interactive interface between shell and Python versions, and uploaded distribution files to Pypi
210
+
211
+ ### 1cbba7e (2025-04-23)
212
+
213
+ Create python-publish.yml
214
+
215
+ ### 98f7382 (2025-04-22)
216
+
217
+ Added Python version of interactive main function entry and corresponding app files.
218
+
219
+ ### f034fbe (2025-04-21)
220
+
221
+ 1. Improve the dockerfile to ensure smooth operation inside the container; 2. Added a terminal interactive entrance for the program, supporting both Linux terminals and Docker environments, supporting runtime experience evaluation and ion crystal structure prediction modules, and able to capture the PID of Python programs and link logs for easy monitoring of task status and results, as well as task killing. 3. Optimize the task step logic of the EE module to avoid possible redundant Gaussian calculations, and provide batch update parameters for the config. yaml configuration file in the combined folder. 4. Generate CSV files for echo information during the structure generation stage, saving the structure generation information of each space group and the exception types when pyxtal generation fails. At the same time, based on the results of phonopy symmetry processing, remove the double atom structure generated by pyxtal and update the CSV file information.
222
+
223
+ ### d079b70 (2025-04-11)
224
+
225
+ After successfully completing the task using the dpdispatcher module, delete the corresponding folder for submission to save space.
226
+
227
+ ### 9ddb0c4 (2025-04-11)
228
+
229
+ Change the version number to 2.0.0.
230
+
231
+ ### c367bc3 (2025-04-09)
232
+
233
+ Fully automated EE workflow
234
+
235
+ ### f8e6c73 (2025-04-08)
236
+
237
+ Fully automated ion CSP workflow.
238
+
239
+ ### c4400f0 (2025-04-02)
240
+
241
+ Delete 3_postprocessing directory
242
+
243
+ ### 380eedb (2025-04-02)
244
+
245
+ Delete 2_generation directory
246
+
247
+ ### 05931e7 (2025-04-02)
248
+
249
+ Delete 1_preparation directory
250
+
251
+ ### a22b9e8 (2024-12-23)
252
+
253
+ ok
254
+
255
+ ### 7f6d3b1 (2024-12-23)
256
+
257
+ ok
258
+
259
+ ### c13cd0c (2024-12-20)
260
+
261
+ ok
262
+
263
+ ### 1a2b2d5 (2024-12-19)
264
+
265
+ ok
266
+
267
+ ### fd404eb (2024-12-19)
268
+
269
+ OK
270
+
271
+ ### 2d8aafd (2024-12-17)
272
+
273
+ ok
274
+
275
+ ### 7fbfd27 (2024-12-16)
276
+
277
+ ok
278
+
279
+ ### a0b84fc (2024-12-16)
280
+
281
+ ok
282
+
283
+ ### 9878e9d (2024-12-16)
284
+
285
+ ok
286
+
287
+ ### b07065c (2024-12-16)
288
+
289
+ ok
290
+
291
+ ### 68b6b0a (2024-12-16)
292
+
293
+ ok
294
+
295
+ ### f6a30b0 (2024-12-14)
296
+
297
+ ok
298
+
299
+ ### 0e434f6 (2024-12-14)
300
+
301
+ ok
302
+
303
+ ### 2bef3e2 (2024-12-12)
304
+
305
+ committed
306
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ion_CSP
3
- Version: 2.1.8
3
+ Version: 2.2.0
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
@@ -28,7 +28,7 @@ Dynamic: home-page
28
28
  Dynamic: license-file
29
29
  Dynamic: requires-python
30
30
 
31
- # 基于分子/离子构型的晶体结构设计软件 V2.1
31
+ # 基于分子/离子构型的晶体结构设计软件 V2.2
32
32
 
33
33
  ## 项目概述
34
34
 
@@ -1,4 +1,4 @@
1
- # 基于分子/离子构型的晶体结构设计软件 V2.1
1
+ # 基于分子/离子构型的晶体结构设计软件 V2.2
2
2
 
3
3
  ## 项目概述
4
4
 
@@ -0,0 +1,4 @@
1
+ #!/bin/bash
2
+ WORK_DIR=$1
3
+
4
+ nohup python -m ion_CSP.run.main_CSP $WORK_DIR > "${WORK_DIR}/main_CSP_console.log" 2>&1 &
@@ -0,0 +1,4 @@
1
+ #!/bin/bash
2
+ WORK_DIR=$1
3
+
4
+ nohup python -m ion_CSP.run.main_EE $WORK_DIR > "${WORK_DIR}/main_EE_console.log" 2>&1 &
@@ -1,12 +1,12 @@
1
1
  __author__ = "Ze Yang"
2
2
  __contact__ = "yangze1995007@163.com"
3
3
  __license__ = "MIT"
4
- __version__ = "2.1.8"
5
- __date__ = "2025-06-23"
4
+ __version__ = "2.2.0"
5
+ __date__ = "2025-06-27"
6
6
 
7
7
 
8
8
  try:
9
- from importlib.metadata import version # python >= 3.11
9
+ from importlib.metadata import version
10
10
  except Exception:
11
11
  try:
12
12
  from importlib_metadata import version
@@ -72,7 +72,13 @@ class SmilesProcessing:
72
72
  basename: The corresponding basename.
73
73
  """
74
74
  mol = Chem.MolFromSmiles(smiles)
75
- mol = Chem.AddHs(mol)
75
+ try:
76
+ mol = Chem.AddHs(mol)
77
+ except Exception as e:
78
+ logging.error(
79
+ f"Error occurred while adding hydrogens to molecule {basename} with charge {charge}: {e}"
80
+ )
81
+ return 1, basename # 返回错误码1表示失败
76
82
  try:
77
83
  # 生成3D坐标
78
84
  AllChem.EmbedMolecule(mol)