From 00df29aa577842a92e761a435224a4df33183f6f Mon Sep 17 00:00:00 2001 From: Daniel Rojas Date: Sat, 24 Oct 2020 16:53:52 +0200 Subject: [PATCH] Delete temp file --- src/wireviz/temp.py | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 src/wireviz/temp.py 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