rda-python-common 1.0.25__py3-none-any.whl → 1.0.26__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.
Potentially problematic release.
This version of rda-python-common might be problematic. Click here for more details.
- rda_python_common/PgSIG.py +12 -6
- {rda_python_common-1.0.25.dist-info → rda_python_common-1.0.26.dist-info}/METADATA +1 -1
- {rda_python_common-1.0.25.dist-info → rda_python_common-1.0.26.dist-info}/RECORD +6 -6
- {rda_python_common-1.0.25.dist-info → rda_python_common-1.0.26.dist-info}/WHEEL +0 -0
- {rda_python_common-1.0.25.dist-info → rda_python_common-1.0.26.dist-info}/licenses/LICENSE +0 -0
- {rda_python_common-1.0.25.dist-info → rda_python_common-1.0.26.dist-info}/top_level.txt +0 -0
rda_python_common/PgSIG.py
CHANGED
|
@@ -816,16 +816,22 @@ def get_pbs_info(qopts, multiple = 0, logact = 0, chkcnt = 1):
|
|
|
816
816
|
if re.match(r'^-----', line): chkd = 0
|
|
817
817
|
else:
|
|
818
818
|
vals = re.split(r'\s+', PgLOG.pgtrim(line))
|
|
819
|
-
|
|
819
|
+
vcnt = len(vals)
|
|
820
|
+
if vcnt == 1:
|
|
821
|
+
if multiple:
|
|
822
|
+
stat[ckeys[kcnt-1]].append(vals[0])
|
|
823
|
+
else:
|
|
824
|
+
stat[ckeys[kcnt-1]] = vals[0]
|
|
825
|
+
break
|
|
826
|
+
elif vcnt > 1:
|
|
820
827
|
ms = re.match(r'^(\d+)', vals[0])
|
|
821
828
|
if ms: vals[0] = ms.group(1)
|
|
822
|
-
|
|
823
|
-
|
|
829
|
+
for i in range(vcnt):
|
|
830
|
+
if multiple:
|
|
824
831
|
stat[ckeys[i]].append(vals[i])
|
|
825
|
-
|
|
826
|
-
for i in range(kcnt):
|
|
832
|
+
else:
|
|
827
833
|
stat[ckeys[i]] = vals[i]
|
|
828
|
-
|
|
834
|
+
if vcnt == kcnt: break
|
|
829
835
|
|
|
830
836
|
return stat
|
|
831
837
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rda_python_common
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.26
|
|
4
4
|
Summary: RDA Python common library codes shared by other RDA python packages
|
|
5
5
|
Author-email: Zaihua Ji <zji@ucar.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/NCAR/rda-python-common
|
|
@@ -4,12 +4,12 @@ rda_python_common/PgFile.py,sha256=756onQnWH_MK8llF0-8b6yV6KC1eY_eCPEkygxeJQQU,9
|
|
|
4
4
|
rda_python_common/PgLOG.py,sha256=DFCQgcmbU04H6Kz9X9nxuFdLA1VNRBQefRvK8LvO9Pw,54273
|
|
5
5
|
rda_python_common/PgLock.py,sha256=12i84nsGBuifSyPnm8IR63LvHvRuVU573D5QKFlHdOI,22623
|
|
6
6
|
rda_python_common/PgOPT.py,sha256=JbzLCkJ_RYR95fDCKyT1uxJAddYB6FuPs3L47PxcuKs,55445
|
|
7
|
-
rda_python_common/PgSIG.py,sha256=
|
|
7
|
+
rda_python_common/PgSIG.py,sha256=ZVM9Qz6yIFurwIQJtV5-CFbKOTdFsZ-Rs95SEpDFgNk,35795
|
|
8
8
|
rda_python_common/PgSplit.py,sha256=QKPbF55m8KCTGmwVwL3uG_nuylCC4FSVfLuXeLjJHbE,8816
|
|
9
9
|
rda_python_common/PgUtil.py,sha256=OqESKCd72b9g8m8jwjPJhXDtPYlW6G8oSOhwChvz2Cg,48600
|
|
10
10
|
rda_python_common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
rda_python_common-1.0.
|
|
12
|
-
rda_python_common-1.0.
|
|
13
|
-
rda_python_common-1.0.
|
|
14
|
-
rda_python_common-1.0.
|
|
15
|
-
rda_python_common-1.0.
|
|
11
|
+
rda_python_common-1.0.26.dist-info/licenses/LICENSE,sha256=1dck4EAQwv8QweDWCXDx-4Or0S8YwiCstaso_H57Pno,1097
|
|
12
|
+
rda_python_common-1.0.26.dist-info/METADATA,sha256=Bs-u2UnNIq9dSQSzsjlp1u64euzt0pardPKKkk5Nu24,716
|
|
13
|
+
rda_python_common-1.0.26.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
14
|
+
rda_python_common-1.0.26.dist-info/top_level.txt,sha256=KVQmx7D3DD-jsiheqL8HdTrRE14hpRnZY5_ioMArA5k,18
|
|
15
|
+
rda_python_common-1.0.26.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|