This commit is contained in:
parent
79b3c269e6
commit
202a824d31
@ -59,7 +59,7 @@ def create_scex_node() -> CmdTreeNode:
|
|||||||
]
|
]
|
||||||
info_strs = [getattr(Info, key) for key in dir(OpCode) if not key.startswith("__")]
|
info_strs = [getattr(Info, key) for key in dir(OpCode) if not key.startswith("__")]
|
||||||
combined_dict = dict(zip(op_code_strs, info_strs))
|
combined_dict = dict(zip(op_code_strs, info_strs))
|
||||||
scex_node = CmdTreeNode("ploc_mpsoc", "PLOC MPSoC")
|
scex_node = CmdTreeNode("scex", "Solar Cell Experiment")
|
||||||
for op_code, info in combined_dict.items():
|
for op_code, info in combined_dict.items():
|
||||||
scex_node.add_child(CmdTreeNode(op_code, info))
|
scex_node.add_child(CmdTreeNode(op_code, info))
|
||||||
return scex_node
|
return scex_node
|
||||||
|
Loading…
Reference in New Issue
Block a user