Skip to content

Retain input nodes in prune_orphans pass - #252

Merged
StackDoubleFlow merged 1 commit into
MCHPR:masterfrom
BramOtte:retain-input-nodes
Aug 11, 2026
Merged

Retain input nodes in prune_orphans pass#252
StackDoubleFlow merged 1 commit into
MCHPR:masterfrom
BramOtte:retain-input-nodes

Conversation

@BramOtte

@BramOtte BramOtte commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

When the -i flag was used the plot could crash when an input was used that doesn't contribute to an output.
retaining the inputs should prevent this crash and also allow the component to properly update.

ideally if a block is missing in a backend it should error gracefully but this is not neccesary to fix this issue, some work on this can be found here https://github.com/BramOtte/MCHPRS/tree/retain-inputs

@StackDoubleFlow

Copy link
Copy Markdown
Member

LGTM, thanks

@StackDoubleFlow
StackDoubleFlow merged commit 28ef846 into MCHPR:master Aug 11, 2026
11 checks passed
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.

2 participants