From 29f67c651b388eb21b83b2f134c9c4103fcfd298 Mon Sep 17 00:00:00 2001 From: Shishlo Date: Fri, 19 Jun 2026 14:09:00 -0400 Subject: [PATCH] The error entrance node was added as a 1st of the child nodes list of the parent node. Before the tilt nodes were not rotated or shifted at the entrance when error nodes added to the parent node. --- py/orbit/errors/ErrorLatticeModifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/orbit/errors/ErrorLatticeModifications.py b/py/orbit/errors/ErrorLatticeModifications.py index 51f786b4..cbcdef20 100644 --- a/py/orbit/errors/ErrorLatticeModifications.py +++ b/py/orbit/errors/ErrorLatticeModifications.py @@ -100,7 +100,7 @@ def addErrorNodeAsChild(lattice, AccNode, Error_Node): def addErrorNodeAsChild_I(lattice, AccNode, Error_Node): - AccNode.addChildNode(Error_Node, AccNode.ENTRANCE) + AccNode.getChildNodes(AccNode.ENTRANCE).insert(0, Error_Node) lattice.initialize()