We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8dbfb8 commit f91191cCopy full SHA for f91191c
src/ansys/edb/core/hierarchy/component_group.py
@@ -77,12 +77,13 @@ def component_property(self):
77
or comp_type == edb_defs_pb2.ComponentType.CAPACITOR
78
):
79
return RLCComponentProperty(comp_prop.msg)
80
- if comp_type == edb_defs_pb2.ComponentType.IO:
81
- return IOComponentProperty(comp_prop.msg)
82
if comp_type == edb_defs_pb2.ComponentType.IC:
83
return ICComponentProperty(comp_prop.msg)
84
- if comp_type == edb_defs_pb2.ComponentType.OTHER:
85
- return comp_prop
+ if (
+ comp_type == edb_defs_pb2.ComponentType.IO
+ or comp_type == edb_defs_pb2.ComponentType.OTHER
+ ):
86
+ return IOComponentProperty(comp_prop.msg)
87
else:
88
return None
89
0 commit comments