Skip to content
Snippets Groups Projects

Update signal_flow_graph.SFG.find_by_type_name. Now it actually checks the...

Open Petter Källström requested to merge petka86-find_by_type_name into master
1 unresolved thread
1 file
+ 1
3
Compare changes
  • Side-by-side
  • Inline
@@ -558,10 +558,8 @@ class SFG(AbstractOperation):
type_name : TypeName
The TypeName of the desired components.
"""
reg = f"{type_name}[0-9]+"
p = re.compile(reg)
components = [
val for key, val in self._components_by_id.items() if p.match(key)
com for com in self._components_dfs_order if com.type_name() == type_name
]
return components
Please register or sign in to reply
Loading