Skip to content

Commit

Permalink
1603_1.py (#29): opus_temporibus_cdn; first time full drill tested (1…
Browse files Browse the repository at this point in the history
…0 codex)
  • Loading branch information
fititnt committed Apr 17, 2022
1 parent 32a3f1c commit 08114f1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
13 changes: 8 additions & 5 deletions officinam/999999999/0/1603_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -2930,6 +2930,9 @@ def __init__(
codex: Type['Codex'],
ex_librario: str = ''
):
# TODO: implement a way to not re-calculate the status quo (feature
# required by crontab/crojob)

self.codex = codex
self.ex_librario = ex_librario
# self.status_in_markdown = status_in_markdown
Expand Down Expand Up @@ -4557,15 +4560,15 @@ def initiari(self):

# print(_status_quo_ex_codice)
if neo_clavem in _status_quo_ex_codice and \
'status_quo' in _status_quo_ex_codice[neo_clavem]:
status_quo_ex_codice = _status_quo_ex_codice[neo_clavem]['status_quo']
'status_quo' in _status_quo_ex_codice[neo_clavem]:
status_quo_ex_codice = \
_status_quo_ex_codice[neo_clavem]['status_quo']
else:
status_quo_ex_codice = {}
# print(ix_n1603ia_item, self.quaero_ix_n1603ia, ix_n1603ia_quaero(ix_n1603ia_item, self.quaero_ix_n1603ia))

if self.quaero_ix_n1603ia and len(self.quaero_ix_n1603ia) > 0:
if not ix_n1603ia_quaero(ix_n1603ia_item, self.quaero_ix_n1603ia):
# print('not in {0} {1}'.format(ix_n1603ia_item, self.quaero_ix_n1603ia))
if not ix_n1603ia_quaero(
ix_n1603ia_item, self.quaero_ix_n1603ia):
continue

# self.opus.append(
Expand Down
13 changes: 12 additions & 1 deletion officinam/999999999/999999999.lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2064,8 +2064,19 @@ opus_temporibus_cdn() {
normal=$(tput sgr0)
printf "%40s\n" "${blue}${FUNCNAME[0]}${normal}"

opus_temporibus_temporarium="${ROOTDIR}/999999/0/1603.cdn.statum.tsv"

"${ROOTDIR}/999999999/0/1603_1.py" \
--ex-opere-temporibus='cdn' --quaero-ix_n1603ia='({publicum}>=1)' \
--ex-opere-temporibus='cdn' --quaero-ix_n1603ia='({publicum}>=11)' \
> "$opus_temporibus_temporarium"

while IFS=$'\t' read -r -a line; do
echo "${line[0]}"

actiones_completis_publicis "${line[0]}"
# echo "${line[1]}"
# echo "${line[2]}"
done <"${opus_temporibus_temporarium}"

# ./999999999/0/1603_1.py --ex-opere-temporibus='cdn' --quaero-ix_n1603ia='({publicum}>=1)'
}
Expand Down

0 comments on commit 08114f1

Please sign in to comment.