ion-CSP 2.1.5__tar.gz → 2.1.9__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 (107) hide show
  1. {ion_csp-2.1.5 → ion_csp-2.1.9}/.github/workflows/conda-env-build.yml +3 -1
  2. {ion_csp-2.1.5 → ion_csp-2.1.9}/CHANGELOG.md +119 -0
  3. {ion_csp-2.1.5 → ion_csp-2.1.9}/CODE_OF_CONDUCT.md +8 -0
  4. {ion_csp-2.1.5 → ion_csp-2.1.9}/LICENSE +1 -1
  5. {ion_csp-2.1.5 → ion_csp-2.1.9}/PKG-INFO +44 -16
  6. {ion_csp-2.1.5 → ion_csp-2.1.9}/README.md +43 -15
  7. {ion_csp-2.1.5 → ion_csp-2.1.9}/environment.yml +1 -0
  8. {ion_csp-2.1.5 → ion_csp-2.1.9}/examples/example_1/config.yaml +2 -2
  9. {ion_csp-2.1.5/src/run → ion_csp-2.1.9/scripts}/update_changelog.py +4 -4
  10. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/__init__.py +3 -3
  11. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/convert_SMILES.py +39 -11
  12. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/empirical_estimate.py +288 -84
  13. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/gen_opt.py +68 -22
  14. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/identify_molecules.py +15 -0
  15. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/log_and_time.py +55 -8
  16. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/mlp_opt.py +52 -6
  17. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/read_mlp_density.py +15 -1
  18. {ion_csp-2.1.5/src → ion_csp-2.1.9/src/ion_CSP}/run/main_EE.py +11 -13
  19. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/task_manager.py +2 -2
  20. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/upload_download.py +0 -1
  21. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/vasp_processing.py +57 -28
  22. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP.egg-info/PKG-INFO +44 -16
  23. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP.egg-info/SOURCES.txt +10 -11
  24. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP.egg-info/top_level.txt +0 -1
  25. ion_csp-2.1.5/.github/workflows/update_changelog.yml +0 -36
  26. {ion_csp-2.1.5 → ion_csp-2.1.9}/.dockerignore +0 -0
  27. {ion_csp-2.1.5 → ion_csp-2.1.9}/.github/workflows/pypi-publish.yml +0 -0
  28. {ion_csp-2.1.5 → ion_csp-2.1.9}/.gitignore +0 -0
  29. {ion_csp-2.1.5 → ion_csp-2.1.9}/.vscode/settings.json +0 -0
  30. {ion_csp-2.1.5 → ion_csp-2.1.9}/CONTRIBUTING.md +0 -0
  31. {ion_csp-2.1.5 → ion_csp-2.1.9}/Dockerfile +0 -0
  32. {ion_csp-2.1.5 → ion_csp-2.1.9}/MANIFEST.in +0 -0
  33. {ion_csp-2.1.5 → ion_csp-2.1.9}/SECURITY.md +0 -0
  34. {ion_csp-2.1.5 → ion_csp-2.1.9}/config/complete_config.yaml +0 -0
  35. {ion_csp-2.1.5 → ion_csp-2.1.9}/config/simple_config.yaml +0 -0
  36. {ion_csp-2.1.5 → ion_csp-2.1.9}/config/usage.md +0 -0
  37. {ion_csp-2.1.5 → ion_csp-2.1.9}/docs/example_usage_CSP.py +0 -0
  38. {ion_csp-2.1.5 → ion_csp-2.1.9}/docs/example_usage_EE.py +0 -0
  39. {ion_csp-2.1.5 → ion_csp-2.1.9}/docs/index.md +0 -0
  40. {ion_csp-2.1.5 → ion_csp-2.1.9}/docs/usage.md +0 -0
  41. {ion_csp-2.1.5 → ion_csp-2.1.9}/examples/example_1/ions.csv +0 -0
  42. {ion_csp-2.1.5 → ion_csp-2.1.9}/examples/example_2/combo_1/ACEGUL.gjf +0 -0
  43. {ion_csp-2.1.5 → ion_csp-2.1.9}/examples/example_2/combo_1/AGIDOM.gjf +0 -0
  44. {ion_csp-2.1.5 → ion_csp-2.1.9}/examples/example_2/combo_1/config.yaml +0 -0
  45. {ion_csp-2.1.5 → ion_csp-2.1.9}/examples/example_usage.py +0 -0
  46. {ion_csp-2.1.5 → ion_csp-2.1.9}/examples/server/example_local_machine.yaml +0 -0
  47. {ion_csp-2.1.5 → ion_csp-2.1.9}/examples/server/example_local_resources.yaml +0 -0
  48. {ion_csp-2.1.5 → ion_csp-2.1.9}/examples/server/example_remote_machine.yaml +0 -0
  49. {ion_csp-2.1.5 → ion_csp-2.1.9}/examples/server/example_remote_resources.yaml +0 -0
  50. {ion_csp-2.1.5 → ion_csp-2.1.9}/makefile +0 -0
  51. {ion_csp-2.1.5 → ion_csp-2.1.9}/model/model.pt +0 -0
  52. {ion_csp-2.1.5 → ion_csp-2.1.9}/model/options/README.md +0 -0
  53. {ion_csp-2.1.5 → ion_csp-2.1.9}/model/options/model.ckpt-4000000.pt +0 -0
  54. {ion_csp-2.1.5 → ion_csp-2.1.9}/param/INCAR_0 +0 -0
  55. {ion_csp-2.1.5 → ion_csp-2.1.9}/param/INCAR_1 +0 -0
  56. {ion_csp-2.1.5 → ion_csp-2.1.9}/param/INCAR_2 +0 -0
  57. {ion_csp-2.1.5 → ion_csp-2.1.9}/param/INCAR_3 +0 -0
  58. {ion_csp-2.1.5 → ion_csp-2.1.9}/param/POTCAR_C +0 -0
  59. {ion_csp-2.1.5 → ion_csp-2.1.9}/param/POTCAR_H +0 -0
  60. {ion_csp-2.1.5 → ion_csp-2.1.9}/param/POTCAR_N +0 -0
  61. {ion_csp-2.1.5 → ion_csp-2.1.9}/param/POTCAR_O +0 -0
  62. {ion_csp-2.1.5 → ion_csp-2.1.9}/param/g16_sub.sh +0 -0
  63. {ion_csp-2.1.5 → ion_csp-2.1.9}/param/sub_final.sh +0 -0
  64. {ion_csp-2.1.5 → ion_csp-2.1.9}/param/sub_ori.sh +0 -0
  65. {ion_csp-2.1.5 → ion_csp-2.1.9}/param/sub_supple.sh +0 -0
  66. {ion_csp-2.1.5 → ion_csp-2.1.9}/pyproject.toml +0 -0
  67. {ion_csp-2.1.5 → ion_csp-2.1.9}/requirements.txt +0 -0
  68. {ion_csp-2.1.5 → ion_csp-2.1.9}/scripts/CLI.py +0 -0
  69. {ion_csp-2.1.5 → ion_csp-2.1.9}/scripts/CLI.sh +0 -0
  70. {ion_csp-2.1.5 → ion_csp-2.1.9}/scripts/main_CSP.sh +0 -0
  71. {ion_csp-2.1.5 → ion_csp-2.1.9}/scripts/main_EE.sh +0 -0
  72. {ion_csp-2.1.5 → ion_csp-2.1.9}/setup.cfg +0 -0
  73. {ion_csp-2.1.5 → ion_csp-2.1.9}/setup.py +0 -0
  74. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/__init__.py +0 -0
  75. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/__main__.py +0 -0
  76. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/model/model.pt +0 -0
  77. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/model/options/README.md +0 -0
  78. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/model/options/model.ckpt-4000000.pt +0 -0
  79. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/param/INCAR_0 +0 -0
  80. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/param/INCAR_1 +0 -0
  81. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/param/INCAR_2 +0 -0
  82. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/param/INCAR_3 +0 -0
  83. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/param/POTCAR_C +0 -0
  84. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/param/POTCAR_H +0 -0
  85. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/param/POTCAR_N +0 -0
  86. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/param/POTCAR_O +0 -0
  87. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/param/g16_sub.sh +0 -0
  88. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/param/sub_final.sh +0 -0
  89. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/param/sub_ori.sh +0 -0
  90. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/param/sub_supple.sh +0 -0
  91. {ion_csp-2.1.5/src → ion_csp-2.1.9/src/ion_CSP}/run/__init__.py +0 -0
  92. {ion_csp-2.1.5/src → ion_csp-2.1.9/src/ion_CSP}/run/main_CSP.py +0 -0
  93. {ion_csp-2.1.5/src → ion_csp-2.1.9/src/ion_CSP}/run/run_convert_SMILES.py +0 -0
  94. {ion_csp-2.1.5/src → ion_csp-2.1.9/src/ion_CSP}/run/run_empirical_estimate.py +0 -0
  95. {ion_csp-2.1.5/src → ion_csp-2.1.9/src/ion_CSP}/run/run_gen_opt.py +0 -0
  96. {ion_csp-2.1.5/src → ion_csp-2.1.9/src/ion_CSP}/run/run_read_mlp_density.py +0 -0
  97. {ion_csp-2.1.5/src → ion_csp-2.1.9/src/ion_CSP}/run/run_upload_download.py +0 -0
  98. {ion_csp-2.1.5/src → ion_csp-2.1.9/src/ion_CSP}/run/run_vasp_processing.py +0 -0
  99. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP/steps_opt_monitor.sh +0 -0
  100. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP.egg-info/dependency_links.txt +0 -0
  101. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP.egg-info/entry_points.txt +0 -0
  102. {ion_csp-2.1.5 → ion_csp-2.1.9}/src/ion_CSP.egg-info/requires.txt +0 -0
  103. {ion_csp-2.1.5 → ion_csp-2.1.9}/tests/__init__.py +0 -0
  104. {ion_csp-2.1.5 → ion_csp-2.1.9}/tests/test1_task_manager1.py +0 -0
  105. {ion_csp-2.1.5 → ion_csp-2.1.9}/tests/test_log_and_time.py +0 -0
  106. {ion_csp-2.1.5 → ion_csp-2.1.9}/tests/test_task_manager.py +0 -0
  107. {ion_csp-2.1.5 → ion_csp-2.1.9}/uv.lock +0 -0
@@ -1,6 +1,8 @@
1
1
  name: Conda Environment Build
2
2
 
3
- on: [push, pull_request]
3
+ on:
4
+ release:
5
+ types: [published]
4
6
 
5
7
  jobs:
6
8
  build-linux:
@@ -1,177 +1,296 @@
1
1
  # Changelog
2
2
 
3
+ ## Latest Changes
4
+
5
+ ### 30a2f56 (2025-06-27)
6
+
7
+ Optimize the file copying logic in VASP processing to ensure that copying operations are only performed when files exist
8
+
9
+ ### 0acedac (2025-06-27)
10
+
11
+ 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.
12
+
13
+ ## V2.1.8
14
+
15
+ ### b534c0e (2025-06-23)
16
+
17
+ Update version number to 2.1.8, optimize error handling in code, and update multiple modules to improve readability and functionality.
18
+
19
+ ### b68c9ac (2025-06-19)
20
+
21
+ Update dependencies, improve documentation, and enhance error handling
22
+
23
+ ### 162ddc4 (2025-06-16)
24
+
25
+ Use git hooks to automatcally update CHANGELOG.md
26
+
27
+ ### 80f0d24 (2025-06-16)
28
+
29
+ Merge branch 'main' of https://github.com/Bagabaga007/ion_CSP
30
+
31
+ ### bf651e6 (2025-06-16)
32
+
33
+ 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.
34
+
35
+ ### 5c3c950 (2025-06-16)
36
+
37
+ Update update_changelog.yml
38
+
39
+ ### 346d034 (2025-06-16)
40
+
41
+ Update update_changelog.yml
42
+
43
+ ### 2ea0ac4 (2025-06-16)
44
+
45
+ Introduce importlib.resourses in multiple modules to improve file path management; Fix the module import path in the task manager.
46
+
47
+ ## V2.1.5
48
+
49
+ ### 934f0fa (2025-06-16)
50
+
51
+ Add dependency descriptions for the Scipy version; Fixed missing example 2 in the examples section.
52
+
53
+ ### 31087de (2025-06-16)
54
+
55
+ Update version to 2.1.5.
56
+
57
+ ### 3edd170 (2025-06-16)
58
+
59
+ 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.
60
+
3
61
  ## V2.1.4
62
+
4
63
  ### ad5c1d7 (2025-06-13)
64
+
5
65
  Optimize the packaging behavior when building pypi distribution packages to make them easier to use
6
66
 
7
67
  ## V2.1.3
68
+
8
69
  ### d503641 (2025-06-11)
70
+
9
71
  Updata version to 2.1.3
10
72
 
11
73
  ## V2.1.2
74
+
12
75
  ### 1befcf7 (2025-06-09)
76
+
13
77
  Implement centralized management of version numbers and automatic synchronization of multiple configuration files to ensure consistency and reliability in the construction process.
14
78
 
15
79
  ## V2.1.1
80
+
16
81
  ### bde5189 (2025-06-09)
82
+
17
83
  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
18
84
 
19
85
  ### bb0d853 (2025-05-30)
86
+
20
87
  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.
21
88
 
22
89
  ### 80a3e3d (2025-05-23)
90
+
23
91
  Add template configuration files and corresponding usage document in the config folder under the root directory
24
92
 
25
93
  ### 7f383b0 (2025-05-21)
94
+
26
95
  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.
27
96
 
28
97
  ### 1d0d5fc (2025-05-16)
98
+
29
99
  Modification of conda package build yml file.
30
100
 
31
101
  ### 83f25cb (2025-05-16)
102
+
32
103
  Modification of conda package build yml file.
33
104
 
34
105
  ### 5540449 (2025-05-16)
106
+
35
107
  Remove the flake8 installation in conda package construction.
36
108
 
37
109
  ### 01af54c (2025-05-16)
110
+
38
111
  Update information in README.md
39
112
 
40
113
  ### cb7dcb0 (2025-05-15)
114
+
41
115
  Ignore the big-size dist files
42
116
 
43
117
  ### 1ff9020 (2025-05-13)
118
+
44
119
  Update README.md and modified the yml file for github action of conda package build
45
120
 
46
121
  ### 01f2095 (2025-05-13)
122
+
47
123
  Modified yml file for github actions
48
124
 
49
125
  ### 90bfd07 (2025-05-13)
126
+
50
127
  Modified yml file for Github actions.
51
128
 
52
129
  ### 6f29d21 (2025-05-13)
130
+
53
131
  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.
54
132
 
55
133
  ### f2a8abc (2025-05-09)
134
+
56
135
  Modified the yml file for github actions
57
136
 
58
137
  ### b5d1bcd (2025-05-09)
138
+
59
139
  Merge branch 'main' of https://github.com/Bagabaga007/ion_CSP
60
140
 
61
141
  ### bfec475 (2025-05-09)
142
+
62
143
  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.
63
144
 
64
145
  ### 30c455b (2025-04-25)
146
+
65
147
  Create SECURITY.md
66
148
 
67
149
  ### 070c86f (2025-04-25)
150
+
68
151
  Add unit testing module for task_manager.
69
152
 
70
153
  ### 72ccfad (2025-04-25)
154
+
71
155
  Remove torchvision package dependencies to allow pip to attempt to solve the dependency conflict.
72
156
 
73
157
  ### 049d915 (2025-04-25)
158
+
74
159
  Fix the bug in environment.yml file
75
160
 
76
161
  ### 3866521 (2025-04-25)
162
+
77
163
  Adjust the depencies installation order
78
164
 
79
165
  ### ff92e05 (2025-04-25)
166
+
80
167
  Change some certain packages installation way to pip installation.
81
168
 
82
169
  ### 24832ea (2025-04-25)
170
+
83
171
  Remove invalid channel and adapt the mixed installation method.
84
172
 
85
173
  ### c2a01ee (2025-04-25)
174
+
86
175
  Update the corresponding information yml to resolve the conda environment configuration actions in Github
87
176
 
88
177
  ### 0675303 (2025-04-25)
178
+
89
179
  Add conda environment configuration
90
180
 
91
181
  ### b91ee5c (2025-04-25)
182
+
92
183
  Merge branch 'main' of https://github.com/Bagabaga007/ion_CSP
93
184
 
94
185
  ### 15c4628 (2025-04-25)
186
+
95
187
  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.
96
188
 
97
189
  ### 7b1752b (2025-04-23)
190
+
98
191
  Create python-package-conda.yml
99
192
 
100
193
  ### 0cf8d07 (2025-04-23)
194
+
101
195
  Merge branch 'main' of https://github.com/Bagabaga007/ion_CSP
102
196
 
103
197
  ### ebf54e3 (2025-04-23)
198
+
104
199
  Unified the interactive interface between shell and Python versions, and uploaded distribution files to Pypi
105
200
 
106
201
  ### 1cbba7e (2025-04-23)
202
+
107
203
  Create python-publish.yml
108
204
 
109
205
  ### 98f7382 (2025-04-22)
206
+
110
207
  Added Python version of interactive main function entry and corresponding app files.
111
208
 
112
209
  ### f034fbe (2025-04-21)
210
+
113
211
  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.
114
212
 
115
213
  ### d079b70 (2025-04-11)
214
+
116
215
  After successfully completing the task using the dpdispatcher module, delete the corresponding folder for submission to save space.
117
216
 
118
217
  ### 9ddb0c4 (2025-04-11)
218
+
119
219
  Change the version number to 2.0.0.
120
220
 
121
221
  ### c367bc3 (2025-04-09)
222
+
122
223
  Fully automated EE workflow
123
224
 
124
225
  ### f8e6c73 (2025-04-08)
226
+
125
227
  Fully automated ion CSP workflow.
126
228
 
127
229
  ### c4400f0 (2025-04-02)
230
+
128
231
  Delete 3_postprocessing directory
129
232
 
130
233
  ### 380eedb (2025-04-02)
234
+
131
235
  Delete 2_generation directory
132
236
 
133
237
  ### 05931e7 (2025-04-02)
238
+
134
239
  Delete 1_preparation directory
135
240
 
136
241
  ### a22b9e8 (2024-12-23)
242
+
137
243
  ok
138
244
 
139
245
  ### 7f6d3b1 (2024-12-23)
246
+
140
247
  ok
141
248
 
142
249
  ### c13cd0c (2024-12-20)
250
+
143
251
  ok
144
252
 
145
253
  ### 1a2b2d5 (2024-12-19)
254
+
146
255
  ok
147
256
 
148
257
  ### fd404eb (2024-12-19)
258
+
149
259
  OK
150
260
 
151
261
  ### 2d8aafd (2024-12-17)
262
+
152
263
  ok
153
264
 
154
265
  ### 7fbfd27 (2024-12-16)
266
+
155
267
  ok
156
268
 
157
269
  ### a0b84fc (2024-12-16)
270
+
158
271
  ok
159
272
 
160
273
  ### 9878e9d (2024-12-16)
274
+
161
275
  ok
162
276
 
163
277
  ### b07065c (2024-12-16)
278
+
164
279
  ok
165
280
 
166
281
  ### 68b6b0a (2024-12-16)
282
+
167
283
  ok
168
284
 
169
285
  ### f6a30b0 (2024-12-14)
286
+
170
287
  ok
171
288
 
172
289
  ### 0e434f6 (2024-12-14)
290
+
173
291
  ok
174
292
 
175
293
  ### 2bef3e2 (2024-12-12)
294
+
176
295
  committed
177
296
 
@@ -1,12 +1,15 @@
1
1
  # Code of Conduct
2
2
 
3
3
  ## 1. Purpose
4
+
4
5
  We are committed to creating an open, welcoming, and inclusive community. This Code of Conduct aims to provide a safe environment for all participants, fostering positive interactions and collaboration.
5
6
 
6
7
  ## 2. Scope
8
+
7
9
  This Code of Conduct applies to all participants, including but not limited to: contributors, maintainers, users, and anyone involved with the project.
8
10
 
9
11
  ## 3. Expected Behavior
12
+
10
13
  We encourage all participants to:
11
14
 
12
15
  - **Respect Others**: Honor each person’s viewpoints, experiences, and backgrounds.
@@ -15,6 +18,7 @@ We encourage all participants to:
15
18
  - **Accept Constructive Feedback**: Be open to feedback from others and engage in discussions with an open mind.
16
19
 
17
20
  ## 4. Unacceptable Behavior
21
+
18
22
  The following behaviors are considered unacceptable:
19
23
 
20
24
  - **Harassment**: This includes threats, malicious attacks, sexism, racism, hate speech, etc.
@@ -22,9 +26,11 @@ The following behaviors are considered unacceptable:
22
26
  - **Disruptive Behavior**: Intentionally disrupting others' work or the community environment.
23
27
 
24
28
  ## 5. Reporting Mechanism
29
+
25
30
  If you witness or experience unacceptable behavior, please report it to the community maintainers promptly. We take every report seriously and will take appropriate action.
26
31
 
27
32
  ## 6. Consequences
33
+
28
34
  For participants who violate the Code of Conduct, we may take the following actions:
29
35
 
30
36
  - Warning
@@ -32,7 +38,9 @@ For participants who violate the Code of Conduct, we may take the following acti
32
38
  - Permanent ban from participation
33
39
 
34
40
  ## 7. Applicability
41
+
35
42
  This Code of Conduct applies to all activities related to the project, including online and offline interactions.
36
43
 
37
44
  ## 8. License
45
+
38
46
  This Code of Conduct follows the [Contributor Covenant](https://opensource.org/osd) and welcomes suggestions and improvements from anyone.
@@ -1,4 +1,4 @@
1
- MIT License
1
+ # MIT License
2
2
 
3
3
  Copyright (c) [2025] [ion_CSP]
4
4
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ion_CSP
3
- Version: 2.1.5
3
+ Version: 2.1.9
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,13 +28,16 @@ Dynamic: home-page
28
28
  Dynamic: license-file
29
29
  Dynamic: requires-python
30
30
 
31
- # Crystal Structure Design Software V2.1
31
+ # 基于分子/离子构型的晶体结构设计软件 V2.1
32
32
 
33
33
  ## 项目概述
34
+
34
35
  基于分子/离子构型的晶体结构设计软件通过结合经验公式、机器学习势函数微调、第一性原理分步优化和分子/离子识别技术,实现了从分子/离子构型出发的高效晶体结构设计。该软件采用模块化设计,支持全流程自动化材料筛选,在保证预测精度的同时显著提升计算效率。
35
36
 
36
37
  ## 功能特性
38
+
37
39
  ### 核心功能
40
+
38
41
  - **双模块工作流**
39
42
  - **EE模块**:基于经验评估的离子组合生成
40
43
  - **CSP模块**:基于离子晶体结构预测的优化筛选
@@ -48,13 +51,16 @@ Dynamic: requires-python
48
51
  - 软链接解析显示实际路径
49
52
 
50
53
  ### 技术特性
54
+
51
55
  - 跨平台支持(Linux/Docker)
52
56
  - 基于Python 3.11+的面向对象架构
53
57
  - 集成psutil进程管理
54
58
  - 结构化日志记录系统
55
59
 
56
60
  ## 安装指南
61
+
57
62
  ### 环境要求
63
+
58
64
  | 组件 | 最低版本 |
59
65
  |-------------|----------|
60
66
  | Python | 3.11 |
@@ -71,10 +77,13 @@ Dynamic: requires-python
71
77
  | rdkit | 2024.03.3|
72
78
 
73
79
  ### 安装步骤
80
+
74
81
  ```bash
75
82
  pip install ion-csp
76
83
  ```
84
+
77
85
 
86
+
78
87
  ```bash
79
88
  # 创建虚拟环境
80
89
  python -m venv venv
@@ -87,29 +96,39 @@ pip install -e .
87
96
  ```
88
97
 
89
98
  ## 快速入门
99
+
90
100
  ### 交互模式
101
+
91
102
  ```bash
92
103
  ion-csp
93
104
  ```
105
+
94
106
  启动交互式命令行界面,支持以下操作:
107
+
95
108
  - 模块选择
96
109
  - 日志查看
97
110
  - 进程管理
98
111
 
99
112
  ### 脚本调用
113
+
100
114
  #### EE模块示例
115
+
101
116
  ```bash
102
117
  ./scripts/main_EE.sh examples/example_1
103
118
  ```
119
+
104
120
  从SMILES表格生成离子组合
105
121
 
106
122
  #### CSP模块示例
123
+
107
124
  ```bash
108
125
  ./scripts/main_CSP.sh examples/example_2
109
126
  ```
127
+
110
128
  从离子组合生成并优化晶体结构
111
129
 
112
130
  ## 技术架构
131
+
113
132
  ```mermaid
114
133
  graph TD
115
134
  A[用户界面] --> B[任务管理器]
@@ -118,34 +137,32 @@ graph TD
118
137
  B --> E[日志系统]
119
138
  B --> F[任务调度]
120
139
  C --> G[经验评估引擎]
121
- D --> H[晶体预测引擎]
140
+ D --> H[离子晶体结构预测引擎]
122
141
  E --> I[结构化日志]
123
142
  F --> J[进程终止]
124
143
  ```
125
144
 
126
145
  ## 贡献指南
146
+
127
147
  1. Fork仓库并创建特性分支
128
148
  2. 编写单元测试覆盖新功能
129
149
  3. 提交Pull Request时注明关联Issue
130
150
  4. 遵循PEP8代码规范
131
151
 
132
152
  ## 许可证
133
- 本项目采用MIT许可证,详见LICENSE文件。
134
153
 
135
- ## 技术支持
136
- - **文档更新**:2025年6月
137
- - **最新版本**:v2.1.5
138
- - **问题追踪**:https://github.com/bagabaga007/ion_CSP/issues
154
+ 本项目采用MIT许可证,详见LICENSE文件。
139
155
 
140
156
  ---
141
157
 
142
- # Crystal Structure Design Software V2.1
143
-
144
158
  ## Project Overview
159
+
145
160
  This software enables efficient crystal structure design from molecular/ion configurations by integrating empirical formulas, tuned machine learning potentials, stepwise first-principles optimization, and molecular/ion recognition techniques. The modular architecture ensures extensibility and maintainability while maintaining prediction accuracy.
146
161
 
147
162
  ## Key Features
163
+
148
164
  ### Core Functionalities
165
+
149
166
  - **Dual-Module Workflow**
150
167
  - **EE Module**: Empirical evaluation-based ion combination generation
151
168
  - **CSP Module**: Ion crystal structure prediction and optimization
@@ -159,13 +176,16 @@ This software enables efficient crystal structure design from molecular/ion conf
159
176
  - Symlink resolution for actual log paths
160
177
 
161
178
  ### Technical Specifications
179
+
162
180
  - Cross-platform support (Linux/Docker)
163
181
  - Object-oriented architecture with Python 3.11+
164
182
  - Integrated process management via psutil
165
183
  - Structured logging system
166
184
 
167
185
  ## Installation
186
+
168
187
  ### Prerequisites
188
+
169
189
  | Component | Min Version |
170
190
  |-------------|-------------|
171
191
  | Python | 3.11 |
@@ -182,6 +202,7 @@ This software enables efficient crystal structure design from molecular/ion conf
182
202
  | rdkit | 2024.03.3|
183
203
 
184
204
  ### Installation Steps
205
+
185
206
  ```bash
186
207
  # Create virtual environment
187
208
  python -m venv venv
@@ -194,29 +215,39 @@ pip install -e .
194
215
  ```
195
216
 
196
217
  ## Quick Start
218
+
197
219
  ### Interactive Mode
220
+
198
221
  ```bash
199
222
  ion-csp
200
223
  ```
224
+
201
225
  Launches CLI interface with:
226
+
202
227
  - Module selection
203
228
  - Log management
204
229
  - Process control
205
230
 
206
231
  ### Script Execution
232
+
207
233
  #### EE Module Example
234
+
208
235
  ```bash
209
236
  ./scripts/main_EE.sh examples/example_1
210
237
  ```
238
+
211
239
  Generates ion combinations from SMILES tables
212
240
 
213
241
  #### CSP Module Example
242
+
214
243
  ```bash
215
244
  ./scripts/main_CSP.sh examples/example_2
216
245
  ```
246
+
217
247
  Optimizes crystal structures from ion combinations
218
248
 
219
249
  ## Technical Architecture
250
+
220
251
  ```mermaid
221
252
  graph TD
222
253
  A[User Interface] --> B[Task Manager]
@@ -225,21 +256,18 @@ graph TD
225
256
  B --> E[Log System]
226
257
  B --> F[Task Scheduler]
227
258
  C --> G[Empirical Evaluation Engine]
228
- D --> H[Crystal Prediction Engine]
259
+ D --> H[Ionic Crystal Structure Prediction Engine]
229
260
  E --> I[Structured Logs]
230
261
  F --> J[Process Termination]
231
262
  ```
232
263
 
233
264
  ## Contribution Guide
265
+
234
266
  1. Fork repository and create feature branch
235
267
  2. Write unit tests for new features
236
268
  3. Submit PR with issue reference
237
269
  4. Follow PEP8 coding standards
238
270
 
239
271
  ## License
240
- MIT License, see LICENSE file.
241
272
 
242
- ## Support
243
- - Documentation last updated: June 2025
244
- - Latest version: v2.1.5
245
- - Issue tracker: https://github.com/bagabaga007/ion_CSP/issues
273
+ MIT License, see LICENSE file.