From ad00ade097a83d6a407a39c39cd87d8b9502d6b6 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Wed, 28 May 2025 00:39:44 -0700 Subject: [PATCH] [Tool] correctly set input ptype --- 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 0e9ec33..ca27c86 100644 --- a/masque/builder/tools.py +++ b/masque/builder/tools.py @@ -290,7 +290,7 @@ class BasicTool(Tool, metaclass=ABCMeta): gen_straight, sport_in, sport_out = self.straight tree, pat = Library.mktree(SINGLE_USE_PREFIX + 'path') - pat.add_port_pair(names=port_names) + pat.add_port_pair(names=port_names, ptype=in_ptype) if data.in_transition: ipat, iport_theirs, _iport_ours = data.in_transition pat.plug(ipat, {port_names[1]: iport_theirs})