Skip to content

Conversation

lizlooney
Copy link
Collaborator

Made constants for field prefixes.

Made constants for visible port types.

Removed "export" from type MrcPortType.

Renamed fields in PortMixin to being with mrc and not end with _.

Removed updateShape_, which is only called from loadExtraState. Removed unnecessary code that removes all existing ports and initializes ports if not set. Moved the remaining code from updateShape_ to loadExtraState.

Simplified the code in pythonFromBlock that collects the ports.

Generate code for CompoundPort without trailing backslashes.

Made constants for field prefixes.

Made constants for visible port types.

Removed "export" from type MrcPortType.

Renamed fields in PortMixin to being with mrc and not end with _.

Removed updateShape_, which is only called from loadExtraState.
Removed unnecessary code that removes all existing ports and initializes ports if not set.
Moved the remaining code from updateShape_ to loadExtraState.

Simplified the code in pythonFromBlock that collects the ports.

Generate code for CompoundPort without trailing backslashes.
@lizlooney lizlooney requested a review from alan412 September 25, 2025 05:47
@lizlooney lizlooney marked this pull request as draft September 25, 2025 05:52
@lizlooney lizlooney closed this Sep 25, 2025
@lizlooney lizlooney deleted the pr_cleanup_mrc_port branch September 25, 2025 06:24
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