Skip to content

Fix for child nodes order in AccNode class#109

Merged
azukov merged 1 commit intoPyORBIT-Collaboration:mainfrom
shishlo:child_nodes_order
Feb 27, 2026
Merged

Fix for child nodes order in AccNode class#109
azukov merged 1 commit intoPyORBIT-Collaboration:mainfrom
shishlo:child_nodes_order

Conversation

@shishlo
Copy link
Contributor

@shishlo shishlo commented Feb 27, 2026

If you add a child node to the ENTRANCE or EXIT the child node was always added to the end of the child nodes list. Now, if you add a child node to the entrance it will be inserted as the first element of the list for entrance child nodes. That is default behavior, but you can control it with place_in_part parameter of the addChildNode(...) method in AccNode class.

…ist of the parent node. It means, at the entrance they did not account for presiding child nodes. It is fixed.
@azukov azukov merged commit 1fae46f into PyORBIT-Collaboration:main Feb 27, 2026
5 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