diff --git a/src/wireviz/temp.py b/src/wireviz/temp.py deleted file mode 100644 index 40e0d76..0000000 --- a/src/wireviz/temp.py +++ /dev/null @@ -1,36 +0,0 @@ - # check which section the first item belongs to - # first_item = get_first_item_in_entry(connection_set[0]) - # print('first item:', first_item) - # - # if designators_and_templates[first_item] in template_connectors: - # expected_index = 0 - # print('Set starts with con') - # elif designators_and_templates[first_item] in template_cables: - # expected_index = 1 - # print('Set starts with cable') - # else: - # raise Exception('What') - - # check that all entries alternate between cables and connectors - # TODO - # for entry in connection_set: - # for item in get_item_list(entry): - # if - - - - - - # for index, section in enumerate(alternating_sections): - # if first_item in yaml_data[section]: - # expected_index = index - # break - # else: - # raise Exception('First item not found anywhere.') - # expected_index = 1 - expected_index # flip once since it is flipped back at the *beginning* of every loop - # for entry in connection_set: - # pass - - # generate items - - # connect items