SEA: again fixing paramFilter

This commit is contained in:
2025-06-06 12:15:48 +02:00
parent c92cb22d97
commit 385480a8cc

View File

@ -721,9 +721,10 @@ class SeaModule(Module):
sublist = result.get('.')
if sublist is None:
return False
if len(sub) == 1 and 'kids' in paramdesc: # direct kid
# do not take main node of a tree
if len(sub) > 1 or 'kids' in paramdesc:
# avoid params from subtrees
return False
# this is a top paramerter without kids
sublist.append(paramdesc)
return True