Remove unused check_designators() function
This commit is contained in:
parent
ef76d4e962
commit
4e74aa2a9c
@ -64,12 +64,6 @@ def parse(yaml_input: str, file_out: (str, Path) = None, return_types: (None, st
|
|||||||
|
|
||||||
# add connections
|
# 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