From 4c69e773fd65de798cd6c413bc9bc5acda8a06da Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Sun, 28 Jul 2024 20:02:28 -0700 Subject: [PATCH] pass kwargs down into gen_straight() --- 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 0c6af12..7df2934 100644 --- a/masque/builder/tools.py +++ b/masque/builder/tools.py @@ -405,7 +405,7 @@ class BasicTool(Tool, metaclass=ABCMeta): ipat, iport_theirs, _iport_ours = in_transition pat.plug(ipat, {port_names[1]: iport_theirs}) if not numpy.isclose(straight_length, 0): - straight_pat = gen_straight(straight_length) + straight_pat = gen_straight(straight_length, **kwargs) if append: pat.plug(straight_pat, {port_names[1]: sport_in}, append=True) else: