ion-CSP 2.1.3__py3-none-any.whl → 2.1.4__py3-none-any.whl
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/__init__.py +2 -2
- ion_CSP/task_manager.py +5 -8
- {ion_csp-2.1.3.dist-info → ion_csp-2.1.4.dist-info}/METADATA +5 -5
- {ion_csp-2.1.3.dist-info → ion_csp-2.1.4.dist-info}/RECORD +8 -8
- {ion_csp-2.1.3.dist-info → ion_csp-2.1.4.dist-info}/WHEEL +0 -0
- {ion_csp-2.1.3.dist-info → ion_csp-2.1.4.dist-info}/entry_points.txt +0 -0
- {ion_csp-2.1.3.dist-info → ion_csp-2.1.4.dist-info}/licenses/LICENSE +0 -0
- {ion_csp-2.1.3.dist-info → ion_csp-2.1.4.dist-info}/top_level.txt +0 -0
ion_CSP/__init__.py
CHANGED
ion_CSP/task_manager.py
CHANGED
@@ -29,18 +29,15 @@ class TaskManager:
|
|
29
29
|
def _get_version(self):
|
30
30
|
"""版本获取"""
|
31
31
|
try:
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
)
|
37
|
-
module = importlib.util.module_from_spec(spec)
|
38
|
-
spec.loader.exec_module(module)
|
39
|
-
return module.__version__
|
32
|
+
return importlib.metadata.version("ion_CSP")
|
33
|
+
except importlib.metadata.PackageNotFoundError:
|
34
|
+
logging.error("Version detection failed")
|
35
|
+
return "unknown"
|
40
36
|
except Exception as e:
|
41
37
|
logging.error(f"Version detection failed: {e}")
|
42
38
|
return "unknown"
|
43
39
|
|
40
|
+
|
44
41
|
def _detect_env(self):
|
45
42
|
"""检测运行环境 - Detect execution environment"""
|
46
43
|
if Path("/.dockerenv").exists() or "DOCKER" in os.environ:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ion_CSP
|
3
|
-
Version: 2.1.
|
3
|
+
Version: 2.1.4
|
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
|
@@ -132,8 +132,8 @@ graph TD
|
|
132
132
|
本项目采用MIT许可证,详见LICENSE文件。
|
133
133
|
|
134
134
|
## 技术支持
|
135
|
-
- **文档更新**:2025年
|
136
|
-
- **最新版本**:v2.1.
|
135
|
+
- **文档更新**:2025年6月
|
136
|
+
- **最新版本**:v2.1.4
|
137
137
|
- **问题追踪**:https://github.com/bagabaga007/ion_CSP/issues
|
138
138
|
|
139
139
|
---
|
@@ -239,6 +239,6 @@ graph TD
|
|
239
239
|
MIT License, see LICENSE file.
|
240
240
|
|
241
241
|
## Support
|
242
|
-
- Documentation last updated:
|
243
|
-
- Latest version: v2.1.
|
242
|
+
- Documentation last updated: June 2025
|
243
|
+
- Latest version: v2.1.4
|
244
244
|
- Issue tracker: https://github.com/bagabaga007/ion_CSP/issues
|
@@ -1,4 +1,4 @@
|
|
1
|
-
ion_CSP/__init__.py,sha256=
|
1
|
+
ion_CSP/__init__.py,sha256=z8s8-SHg97wrfYV48nVCtHYsIVIaMOxyvZGZFZkQmGM,374
|
2
2
|
ion_CSP/__main__.py,sha256=XlNCx5eMSrL7yld9ddSYXhjXvg2ZYGD_uk9LdqNabvs,74
|
3
3
|
ion_CSP/convert_SMILES.py,sha256=4fndMcuIEypYtkXWBoS7W7uEXkZXVLeMDshdXEIk5kY,13864
|
4
4
|
ion_CSP/empirical_estimate.py,sha256=_U5VRWSIAiJGcxnP3mnCHn8zKzviFEQhQwN7TjPTnCU,29089
|
@@ -8,10 +8,10 @@ ion_CSP/log_and_time.py,sha256=-RCycW1VB7sa3bjQZiF7c8i73iam8S41qgJxlHRqJaw,9406
|
|
8
8
|
ion_CSP/mlp_opt.py,sha256=ox4Qxg4D6WzrB8dxVnUWmAngnOA_wdcInP5UhBWsH4c,5535
|
9
9
|
ion_CSP/read_mlp_density.py,sha256=3N7kgM2RCe1gbP8QxpgtwYRaj77w4niNglWA5VDoQsk,11209
|
10
10
|
ion_CSP/steps_opt_monitor.sh,sha256=1klPjnK0gqkDbvI9PtjdK5qidJ5G0Mo8q1SfrlLW5xM,3330
|
11
|
-
ion_CSP/task_manager.py,sha256=
|
11
|
+
ion_CSP/task_manager.py,sha256=139jv-esHJCHgVneaYtmdTcANTiwWYRC9mr46FGFk6E,16569
|
12
12
|
ion_CSP/upload_download.py,sha256=Hiz5jKOy9x26hJJdcpt-owQdVUbzzGuGOelro6JozY8,23801
|
13
13
|
ion_CSP/vasp_processing.py,sha256=TshMNs7fA0zABvk4sKlVjofJFwGH9DVYcCGbcUpoH1s,31542
|
14
|
-
ion_csp-2.1.
|
14
|
+
ion_csp-2.1.4.dist-info/licenses/LICENSE,sha256=2J6A8GT2iIf2LhuWO1_0ilgx7ijzzpQ2BXU7rHKe8Cc,1068
|
15
15
|
run/__init__.py,sha256=_9EAXp4cv41ARbxahCkihwqY4F00Y18tBeTauWeD9mw,186
|
16
16
|
run/main_CSP.py,sha256=UaYHlh7BSxar4uGppPi-V0cFDpB14212Oy6gta59LfA,5898
|
17
17
|
run/main_EE.py,sha256=4L0VbbgUaYaDJM-6EjffphxMoWAHaZchEaSCVJxsdls,6345
|
@@ -21,8 +21,8 @@ run/run_gen_opt.py,sha256=_Zcsu0FkuZTfiGKSWNaK17LiyQ3qrP30F66UN5QemCo,2727
|
|
21
21
|
run/run_read_mlp_density.py,sha256=aSJjWS1jH-D7qzx7RnpMPSTH7KEZp2b35dg1b2OQSCM,1864
|
22
22
|
run/run_upload_download.py,sha256=wuTAdy4bgdduD7TJtgHwo_fTpHKlkAwmgRknClDLYDo,2436
|
23
23
|
run/run_vasp_processing.py,sha256=hziE4cZwmIWvVaZtwHn9Dl35apYSLlMvSVIbCyd5mFg,1612
|
24
|
-
ion_csp-2.1.
|
25
|
-
ion_csp-2.1.
|
26
|
-
ion_csp-2.1.
|
27
|
-
ion_csp-2.1.
|
28
|
-
ion_csp-2.1.
|
24
|
+
ion_csp-2.1.4.dist-info/METADATA,sha256=KFvozMiRwnhzOd06lZbpbVg3EnTatykWAVd_423B_e0,6525
|
25
|
+
ion_csp-2.1.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
26
|
+
ion_csp-2.1.4.dist-info/entry_points.txt,sha256=NexQJDs9f69kJA2DgoU6tsA3V8a66nadJRem1U_c_6g,54
|
27
|
+
ion_csp-2.1.4.dist-info/top_level.txt,sha256=Vp0RHefYscYU7uQ4Fu6bOKhC_ASrdGOzZxYfN5r0f2M,12
|
28
|
+
ion_csp-2.1.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|