rda-python-miscs 2.0.7__tar.gz → 2.0.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.
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/PKG-INFO +1 -1
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/pyproject.toml +1 -1
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/pg_rst.py +14 -13
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rst_templates/index.rst.temp +1 -1
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rst_templates/section.rst.temp +3 -3
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs.egg-info/PKG-INFO +1 -1
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs.egg-info/SOURCES.txt +0 -1
- rda_python_miscs-2.0.7/src/rda_python_miscs/rst_templates/toc.rst.temp +0 -21
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/LICENSE +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/MANIFEST.in +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/README.md +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/setup.cfg +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/__init__.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/bash_qsub.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/bashqsub.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/bashqsub.usg +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/gdex_ls.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/gdexls.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/gdexls.usg +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/gdexls_standalone.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/pg_docs.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/pg_wget.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/pgwget.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rda_cp.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rda_kill.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rda_mod.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rda_own.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rda_ps.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rda_sub.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rda_zip.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rdacp.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rdacp.usg +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rdakill.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rdakill.usg +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rdals.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rdals.usg +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rdamod.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rdamod.usg +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rdaown.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rdaown.usg +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rdaps.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rdaps.usg +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rdasub.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rdasub.usg +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rdazip.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/rdazip.usg +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/tcsh_qsub.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/tcshqsub.py +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs/tcshqsub.usg +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs.egg-info/dependency_links.txt +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs.egg-info/entry_points.txt +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs.egg-info/requires.txt +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs.egg-info/top_level.txt +0 -0
- {rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/tests/test_miscs.py +0 -0
|
@@ -882,11 +882,11 @@ class PgRST(PgFile, PgUtil):
|
|
|
882
882
|
content += " " + self.replace_option_link(line, secid, 1).lstrip()
|
|
883
883
|
content += "\n\n"
|
|
884
884
|
elif re.search(r'=>$', line0):
|
|
885
|
-
line = re.sub(r'={1,}', '=', line0)
|
|
886
|
-
content = "| {}\n".format(
|
|
885
|
+
# line = re.sub(r'={1,}', '=', line0)
|
|
886
|
+
content = "| {}\n".format(line0)
|
|
887
887
|
for i in range(1, cnt):
|
|
888
888
|
line = lines[i]
|
|
889
|
-
line = re.sub(r'={2,}', '=', line)
|
|
889
|
+
# line = re.sub(r'={2,}', '=', line)
|
|
890
890
|
content += "| {}\n".format(line)
|
|
891
891
|
content += "\n"
|
|
892
892
|
else:
|
|
@@ -971,19 +971,20 @@ class PgRST(PgFile, PgUtil):
|
|
|
971
971
|
for j, val in enumerate(row):
|
|
972
972
|
if j < ncols:
|
|
973
973
|
widths[j] = max(widths[j], len(val), 1)
|
|
974
|
-
|
|
975
|
-
# content = sep
|
|
976
|
-
content = ".. list-table::\n :widths: auto\n :header-rows: 1\n\n"
|
|
974
|
+
content = ".. list-table::\n :widths: auto\n :header-rows: 1\n"
|
|
977
975
|
for row in rows:
|
|
978
|
-
|
|
976
|
+
if len(row) == 1:
|
|
977
|
+
content += " " + row[0]
|
|
978
|
+
continue
|
|
979
|
+
v = row[0]
|
|
979
980
|
if len(v) > 1 and v[0] == '-': v = v[1:]
|
|
980
|
-
content += " * - " + v
|
|
981
|
+
content += "\n * - " + v
|
|
981
982
|
for c in range(1, ncols):
|
|
982
|
-
v = row[c]
|
|
983
|
+
v = row[c]
|
|
983
984
|
if len(v) > 1 and v[0] == '-': v = v[1:]
|
|
984
|
-
content += " - " + v
|
|
985
|
+
content += "\n - " + v
|
|
985
986
|
|
|
986
|
-
return content
|
|
987
|
+
return content + "\n"
|
|
987
988
|
|
|
988
989
|
#
|
|
989
990
|
# description type (dtype): 0 - section, 1 - option, 2 - example, 3 - action
|
|
@@ -1011,9 +1012,9 @@ class PgRST(PgFile, PgUtil):
|
|
|
1011
1012
|
line = self.replace_option_link(lines[i], secid, 2, dtype)
|
|
1012
1013
|
ms = re.match(r'^\s*{}\s+(.+)$'.format(self.DOCS['DOCNAM']), line)
|
|
1013
1014
|
if ms:
|
|
1014
|
-
content += "|
|
|
1015
|
+
content += "| {}{}{} {}\n".format(self.Q1, self.DOCS['DOCNAM'], self.Q2, ms.group(1))
|
|
1015
1016
|
else:
|
|
1016
|
-
content += "|
|
|
1017
|
+
content += "| "+line+"\n"
|
|
1017
1018
|
content += "\n"
|
|
1018
1019
|
|
|
1019
1020
|
return content
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
.. _section__SECID__:
|
|
12
12
|
|
|
13
13
|
__SECID__ - __TITLE__
|
|
14
|
-
|
|
14
|
+
=================================
|
|
15
15
|
|
|
16
16
|
__SECTION__
|
|
17
17
|
|
|
18
|
-
:ref:`Back to Top <section__SECID__>`
|
|
19
|
-
:ref:`Back to Table of Contents <index>`
|
|
18
|
+
| :ref:`Back to Top <section__SECID__>`
|
|
19
|
+
| :ref:`Back to Table of Contents <index>`
|
|
@@ -48,5 +48,4 @@ src/rda_python_miscs.egg-info/requires.txt
|
|
|
48
48
|
src/rda_python_miscs.egg-info/top_level.txt
|
|
49
49
|
src/rda_python_miscs/rst_templates/index.rst.temp
|
|
50
50
|
src/rda_python_miscs/rst_templates/section.rst.temp
|
|
51
|
-
src/rda_python_miscs/rst_templates/toc.rst.temp
|
|
52
51
|
tests/test_miscs.py
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
################################################################################
|
|
2
|
-
#
|
|
3
|
-
# Title : toc.temp
|
|
4
|
-
# Author : Zaihua Ji, zji@ucar.edu
|
|
5
|
-
# Date : 03/17/2026
|
|
6
|
-
# Purpose : template file for help document toc.rst (table of contents, RST)
|
|
7
|
-
#
|
|
8
|
-
# Work File : $DSSHOME/lib/templates/toc.temp
|
|
9
|
-
#
|
|
10
|
-
################################################################################
|
|
11
|
-
|
|
12
|
-
.. _toc:
|
|
13
|
-
|
|
14
|
-
====================
|
|
15
|
-
__TITLE__ Guide
|
|
16
|
-
====================
|
|
17
|
-
|
|
18
|
-
Table of Contents
|
|
19
|
-
-----------------
|
|
20
|
-
|
|
21
|
-
__TOC__
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs.egg-info/requires.txt
RENAMED
|
File without changes
|
{rda_python_miscs-2.0.7 → rda_python_miscs-2.0.9}/src/rda_python_miscs.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|