Skip to content

refactor: deprecate element_ids attribute in Part class - #1150

Merged
mhoeijm merged 39 commits into
mainfrom
refactor/refactor-attributes-of-part
Jun 23, 2025
Merged

mhoeijm merged 39 commits into
mainfrom
refactor/refactor-attributes-of-part

Conversation

@mhoeijm

@mhoeijm mhoeijm commented Jun 20, 2025 •

Copy link
Copy Markdown
Contributor

Deprecates element_ids as an attribute of parts. Use the get_element_ids() method with a Mesh object and the parts pid instead.

This also modifies any methods that were just modifying element_ids in the Part class without modifying the mesh data in Mesh. This avoids inconsistencies between Part and Mesh.

@github-actions github-actions Bot added the tests Related with improvements of the test suite label Jun 20, 2025
@mhoeijm
mhoeijm marked this pull request as ready for review June 23, 2025 12:42
@mhoeijm
mhoeijm requested a review from a team as a code owner June 23, 2025 12:42
@mhoeijm mhoeijm changed the title refactor: refactor attributes of part refactor: deprecate element_ids attribute of Part Jun 23, 2025
@mhoeijm mhoeijm changed the title refactor: deprecate element_ids attribute of Part refactor: deprecate element_ids attribute in Part class Jun 23, 2025
@github-actions github-actions Bot added the ci Pipelines maintenance related label Jun 23, 2025
@mhoeijm

mhoeijm commented Jun 23, 2025

Copy link
Copy Markdown
Contributor Author

fyi @wenfengye

@mhoeijm
mhoeijm merged commit 793253f into main Jun 23, 2025
@mhoeijm
mhoeijm deleted the refactor/refactor-attributes-of-part branch June 23, 2025 17:54
@mhoeijm mhoeijm linked an issue Jun 23, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Pipelines maintenance related tests Related with improvements of the test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Retrieving element_ids should be infered from the mesh and pid

2 participants