Skip to content

Commit

Permalink
Merge pull request #1211 from t3kt/0.40
Browse files Browse the repository at this point in the history
0.40
  • Loading branch information
t3kt authored Apr 6, 2024
2 parents c7d6fa5 + eb2c2c9 commit 15ddeb3
Show file tree
Hide file tree
Showing 1,197 changed files with 4,585 additions and 2,963 deletions.
21 changes: 15 additions & 6 deletions devel/analysis/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from raytkUtil import RaytkContext, ROPInfo, InputInfo, CategoryInfo
import raytkDocs
from raytkState import RopState

# noinspection PyUnreachableCode
if False:
Expand Down Expand Up @@ -136,7 +137,7 @@ def buildOpParamsTable(dat: DAT):
])
for tuplet in info.rop.customTuplets:
par = tuplet[0]
if par.name in ('Inspect', 'Help', 'Updateop') or par.name.startswith('Createref') or par.name.startswith('Creatersel'):
if par.name in ('Inspect', 'Help', 'Updateop') or par.name.startswith('Createref'):
continue
cell = dat[info.path, par.tupletName]
if cell is None:
Expand Down Expand Up @@ -223,10 +224,18 @@ def buildOpCurrentExpandedParamsTable(dat: DAT):
info = ROPInfo(rop)
if not info or not info.isROP:
continue
expanded = ' '.join([
cell.val
for cell in info.opDef.op('paramSpecTable').col('localName')[1:]
])
opDefExt = info.opDefExt
if not opDefExt:
print('Error loading state for', rop)
continue
state = opDefExt.getRopState()
if hasattr(state, 'params') and state.params:
expanded = [
p.localName
for p in state.params
]
else:
expanded = []
dat.appendRow([
info.path,
expanded,
Expand Down Expand Up @@ -294,7 +303,7 @@ def buildOpTagTable(dat: DAT):
opTagExprs = {} # type: dict[str, dict[str, str]]
for rop in RaytkContext().allMasterOperators():
info = ROPInfo(rop)
if not info or not info.isROP:
if not info or not info.isROP or not info.opDefPar['Tagtable']:
continue
tagTable = info.opDefPar.Tagtable.eval()
if not tagTable:
Expand Down
Binary file modified devel/analysis/analysis.tox
Binary file not shown.
Binary file modified devel/build/build.tox
Binary file not shown.
Loading

0 comments on commit 15ddeb3

Please sign in to comment.