Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix subassembly ID creation to not strip non-leading numerals #144

Merged
merged 3 commits into from
Apr 26, 2024

Conversation

RHammond2
Copy link
Contributor

This PR fixes a previously unknown issue that modifies the Subassembly.id to rename subassemblies such as "mooring_1" to "mooring". This creates a naming overlap that doesn't causes errors unless there are replacement events, which then cause each identically named subassembly to have invalidated processes, rather than just the failing one. Subassembly IDs are now stripped of leading punctuation and digits and have all punctuation replaced with underscores.

@RHammond2 RHammond2 added bug Something isn't working enhancement New feature or request labels Apr 26, 2024
@RHammond2 RHammond2 changed the base branch from main to develop April 26, 2024 20:33
@RHammond2 RHammond2 merged commit 90aefbf into develop Apr 26, 2024
4 checks passed
@RHammond2 RHammond2 deleted the bug_fix/process_terminated branch April 26, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant