Skip to content

Send occurrence term ids as child_id from the Python host - #36

Merged
xtofalex merged 1 commit into
mainfrom
fix-occurrence-term-id
Nov 12, 2026
Merged

xtofalex merged 1 commit into
mainfrom
fix-occurrence-term-id

Conversation

@xtofalex

Copy link
Copy Markdown
Contributor

protocol.py sent an equipotential occurrence's term id as "term_id", while the viewer and LocalSNLProvider use "child_id". In the browser every schematic pin was term 0: a pin click or trace asked for term 0's net, and a review comment on a pin was anchored on term 0 (or refused as "no such object" when the pin was a bus bit).

The viewer also reads "term_id" when "child_id" is absent, for hosts that still send it.

protocol.py sent an equipotential occurrence's term id as "term_id",
while the viewer and LocalSNLProvider use "child_id". In the browser
every schematic pin was term 0: a pin click or trace asked for term
0's net, and a review comment on a pin was anchored on term 0 (or
refused as "no such object" when the pin was a bus bit).

The viewer also reads "term_id" when "child_id" is absent, for hosts
that still send it.
@xtofalex
xtofalex merged commit bfe0967 into main Nov 12, 2026
15 checks passed
@xtofalex
xtofalex deleted the fix-occurrence-term-id branch November 12, 2026 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant