pilot.linkstec 0.0.108__py3-none-any.whl → 0.0.110__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.
- pilot/job/impl/base_job.py +6 -1
- {pilot_linkstec-0.0.108.dist-info → pilot_linkstec-0.0.110.dist-info}/METADATA +1 -1
- {pilot_linkstec-0.0.108.dist-info → pilot_linkstec-0.0.110.dist-info}/RECORD +6 -6
- {pilot_linkstec-0.0.108.dist-info → pilot_linkstec-0.0.110.dist-info}/WHEEL +0 -0
- {pilot_linkstec-0.0.108.dist-info → pilot_linkstec-0.0.110.dist-info}/licenses/LICENSE +0 -0
- {pilot_linkstec-0.0.108.dist-info → pilot_linkstec-0.0.110.dist-info}/top_level.txt +0 -0
pilot/job/impl/base_job.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import json
|
|
2
2
|
import os
|
|
3
3
|
import shutil
|
|
4
|
+
from pathlib import Path
|
|
4
5
|
|
|
5
6
|
from pilot.job.job_interface import JobInterface
|
|
6
7
|
from pilot.logging.logger import get_logger
|
|
@@ -368,4 +369,8 @@ class BaseJob(JobInterface):
|
|
|
368
369
|
return os.path.splitext(os.path.basename(file_name))[0]
|
|
369
370
|
|
|
370
371
|
|
|
371
|
-
|
|
372
|
+
def change_extension_pathlib(self,file_path: str, new_ext: str) -> str:
|
|
373
|
+
p = Path(file_path)
|
|
374
|
+
new_path = p.with_suffix(new_ext) # 例: ".csv"
|
|
375
|
+
p.rename(new_path)
|
|
376
|
+
return str(new_path)
|
|
@@ -65,7 +65,7 @@ pilot/job/base/program/cobol/convert/spitPreDigit.py,sha256=uGmIKOSaxNmPkzy45i0w
|
|
|
65
65
|
pilot/job/base/program/java/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
66
66
|
pilot/job/base/program/java/generateDetailDesignPrompt.py,sha256=JcXxRQeJPpFNhli1nWOOxh8ZTdp_IN3-OoFQahHprjs,5651
|
|
67
67
|
pilot/job/impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
68
|
-
pilot/job/impl/base_job.py,sha256=
|
|
68
|
+
pilot/job/impl/base_job.py,sha256=cCPr0q7GLEDYOvVyXA1HT7MXpLW8evX4x9NyHcmyAuw,15312
|
|
69
69
|
pilot/logging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
70
70
|
pilot/logging/logger.py,sha256=TF7eGr3w8GK5v4sf71lDt97uVoBtCgqrZuCdbMmeQBU,1815
|
|
71
71
|
pilot/prompt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -77,8 +77,8 @@ pilot/unit/impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
77
77
|
pilot/unit/impl/base_unit.py,sha256=h6PMtd4ja0wa6mttFeI7rsv92yy96UgfLIU0QSs6Dmk,2108
|
|
78
78
|
pilot/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
79
79
|
pilot/util/files.py,sha256=v9uzfzo3Aq4xgnUIASEZeBJoA2nD9Qz_EA3P-FwzGFQ,1896
|
|
80
|
-
pilot_linkstec-0.0.
|
|
81
|
-
pilot_linkstec-0.0.
|
|
82
|
-
pilot_linkstec-0.0.
|
|
83
|
-
pilot_linkstec-0.0.
|
|
84
|
-
pilot_linkstec-0.0.
|
|
80
|
+
pilot_linkstec-0.0.110.dist-info/licenses/LICENSE,sha256=6kbiFSfobTZ7beWiKnHpN902HgBx-Jzgcme0SvKqhKY,1091
|
|
81
|
+
pilot_linkstec-0.0.110.dist-info/METADATA,sha256=y_5f_tltRl--rwp84CVE04Frb-k6yr7zcYJ9fFmZHlI,680
|
|
82
|
+
pilot_linkstec-0.0.110.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
83
|
+
pilot_linkstec-0.0.110.dist-info/top_level.txt,sha256=BijnVJdXnIPxxx3s60M848seL4Z12gNUPod6KPJxK9c,6
|
|
84
|
+
pilot_linkstec-0.0.110.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|