Allow ZC ports without elements
Change-Id: I7fd918c49c376abacf1de82ca64612b720a974ae
This commit is contained in:
parent
816553f1bc
commit
248ab888bf
@ -156,7 +156,7 @@ class ZCAL(BaseApplication):
|
||||
"interface": port.get("interface")
|
||||
}
|
||||
else:
|
||||
raise Exception(f"Port {port_name} has no element.")
|
||||
ports_info[port_name] = {"direction": port.get("direction"), "interface": port.get("interface")}
|
||||
self.composition_spec["ports"] = ports_info
|
||||
|
||||
@staticmethod
|
||||
|
Loading…
x
Reference in New Issue
Block a user