New: a new interpretor based on Andrew Ng theory. (#3532)

### What problem does this PR solve?

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
Kevin Hu
2024-11-20 18:21:50 +08:00
committed by Yingfeng Zhang
parent 541272eb99
commit 362db857d0
6 changed files with 604 additions and 275 deletions

View File

@ -454,7 +454,7 @@ class ComponentBase(ABC):
outs = []
for q in self._param.query:
if q["component_id"]:
if q["component_id"].split("@")[0].lower().find("begin") > 0:
if q["component_id"].split("@")[0].lower().find("begin") >= 0:
cpn_id, key = q["component_id"].split("@")
for p in self._canvas.get_component(cpn_id)["obj"]._param.query:
if p["key"] == key: