From 140d344e77a645f617ef92293763d890f3b8a887 Mon Sep 17 00:00:00 2001 From: jan Date: Sun, 15 Oct 2023 00:12:06 -0700 Subject: [PATCH] fix transition calculation --- masque/builder/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/masque/builder/tools.py b/masque/builder/tools.py index bc49c56..f51b675 100644 --- a/masque/builder/tools.py +++ b/masque/builder/tools.py @@ -370,7 +370,7 @@ class BasicTool(Tool, metaclass=ABCMeta): out_ptype_actual = self.default_out_ptype straight_length = length - bend_dxy[0] - itrans_dxy[0] - otrans_dxy[0] - bend_run = bend_dxy[1] + itrans_dxy[1] + otrans_dxy + bend_run = bend_dxy[1] + itrans_dxy[1] + otrans_dxy[1] if straight_length < 0: raise BuildError(