rda-python-dscheck 2.0.1__tar.gz → 2.0.2__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_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/PKG-INFO +1 -1
- {rda_python_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/pyproject.toml +1 -1
- {rda_python_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/src/rda_python_dscheck/dscheck.py +1 -1
- {rda_python_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/src/rda_python_dscheck/pg_check.py +1 -6
- {rda_python_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/src/rda_python_dscheck.egg-info/PKG-INFO +1 -1
- {rda_python_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/LICENSE +0 -0
- {rda_python_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/MANIFEST.in +0 -0
- {rda_python_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/README.md +0 -0
- {rda_python_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/setup.cfg +0 -0
- {rda_python_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/src/rda_python_dscheck/PgCheck.py +0 -0
- {rda_python_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/src/rda_python_dscheck/__init__.py +0 -0
- {rda_python_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/src/rda_python_dscheck/ds_check.py +0 -0
- {rda_python_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/src/rda_python_dscheck/dscheck.usg +0 -0
- {rda_python_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/src/rda_python_dscheck.egg-info/SOURCES.txt +0 -0
- {rda_python_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/src/rda_python_dscheck.egg-info/dependency_links.txt +0 -0
- {rda_python_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/src/rda_python_dscheck.egg-info/entry_points.txt +0 -0
- {rda_python_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/src/rda_python_dscheck.egg-info/requires.txt +0 -0
- {rda_python_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/src/rda_python_dscheck.egg-info/top_level.txt +0 -0
- {rda_python_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/tests/test_dscheck.py +0 -0
|
@@ -435,7 +435,7 @@ class DsCheck(PgCheck):
|
|
|
435
435
|
cnd += "specialist = '{}' AND ".format(self.params['LN'])
|
|
436
436
|
acnd = self.get_hash_condition("dscheck", None, "ST", 1)
|
|
437
437
|
if acnd: acnd += " AND "
|
|
438
|
-
self.set_dscheck_options(
|
|
438
|
+
self.set_dscheck_options(cnd + acnd, logact)
|
|
439
439
|
if self.PGLOG['ERRCNT']: self.send_error_email()
|
|
440
440
|
|
|
441
441
|
# rdadata daemon handles the daemon controls
|
|
@@ -169,8 +169,6 @@ class PgCheck(PgOPT, PgCMD):
|
|
|
169
169
|
self.PGOPT['totallimit'] = 380 # maximum number of checks can be started on PBS
|
|
170
170
|
self.PBSQUEUES = {'rda': None, 'htc': 'casper@casper-pbs'}
|
|
171
171
|
self.PBSTIMES = {'default': 21600, 'rda': self.PGLOG['PBSTIME'], 'htc': 86400}
|
|
172
|
-
#self.DOPTHOSTS = {'rda-work': None, 'PBS': ['!subconv -Q']}
|
|
173
|
-
self.DOPTHOSTS = {'rda-work': None, 'PBS': None, 'cron': None}
|
|
174
172
|
self.DSLMTS = {}
|
|
175
173
|
self.EMLMTS = {}
|
|
176
174
|
|
|
@@ -816,15 +814,12 @@ class PgCheck(PgOPT, PgCMD):
|
|
|
816
814
|
return False
|
|
817
815
|
|
|
818
816
|
# call given command to evaluate dynamically the dscheck.qoptions
|
|
819
|
-
def set_dscheck_options(self,
|
|
820
|
-
if chost not in self.DOPTHOSTS: return
|
|
817
|
+
def set_dscheck_options(self, cnd, logact):
|
|
821
818
|
qcnt = 0
|
|
822
|
-
skipcmds = self.DOPTHOSTS[chost]
|
|
823
819
|
pgrecs = self.pgmget("dscheck", "*", cnd + "pid = 0 AND status = 'C' AND LEFT(qoptions, 1) = '!'", logact)
|
|
824
820
|
cnt = len(pgrecs['cindex']) if pgrecs else 0
|
|
825
821
|
for i in range(cnt):
|
|
826
822
|
pgrec = self.onerecord(pgrecs, i)
|
|
827
|
-
if skipcmds and pgrec['qoptions'] in skipcmds: continue # skip
|
|
828
823
|
if self.lock_dscheck(pgrec['cindex'], 1) <= 0: continue
|
|
829
824
|
qoptions = self.build_dscheck_options(pgrec, 'qoptions', 'PBS')
|
|
830
825
|
if not qoptions and pgrec['status'] == 'E': continue # failed evaluating qoptions
|
|
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_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/src/rda_python_dscheck.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rda_python_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/src/rda_python_dscheck.egg-info/requires.txt
RENAMED
|
File without changes
|
{rda_python_dscheck-2.0.1 → rda_python_dscheck-2.0.2}/src/rda_python_dscheck.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|