Remove unused function
This commit is contained in:
parent
85c196f151
commit
bbf92bb5fe
@ -57,13 +57,6 @@ def parse(yaml_input: str, file_out: (str, Path) = None, return_types: (None, st
|
|||||||
elif ty == list:
|
elif ty == list:
|
||||||
yaml_data[sec] = []
|
yaml_data[sec] = []
|
||||||
|
|
||||||
# add connections
|
|
||||||
def check_designators(what, where): # helper function
|
|
||||||
for i, x in enumerate(what):
|
|
||||||
if x not in yaml_data[where[i]]:
|
|
||||||
return False
|
|
||||||
return True
|
|
||||||
|
|
||||||
autogenerated_ids = {}
|
autogenerated_ids = {}
|
||||||
for connection in yaml_data['connections']:
|
for connection in yaml_data['connections']:
|
||||||
# find first component (potentially nested inside list or dict)
|
# find first component (potentially nested inside list or dict)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user