diff --git a/src/wireviz/wireviz.py b/src/wireviz/wireviz.py index 85a0361..43b7613 100755 --- a/src/wireviz/wireviz.py +++ b/src/wireviz/wireviz.py @@ -513,7 +513,7 @@ def parse(yaml_input, file_out=None, generate_bom=False): # add connections ferrule_counter = 0 for con in yaml_data['connections']: - if len(con) == 3: # format: connector -- cable -- conector + if len(con) == 3: # format: connector -- cable -- connector for c in con: if len(list(c.keys())) != 1: # check that each entry in con has only one key, which is the designator diff --git a/tutorial/readme.md b/tutorial/readme.md index 7b01e5b..dc7bbcb 100644 --- a/tutorial/readme.md +++ b/tutorial/readme.md @@ -221,7 +221,7 @@ connections: - # attach ferrules - F1 # no need for list of connections; one ferrule per wire is auto-generated and attached - W1: [1-4] # a new ferrule is auto-generated for each wire - - # attach connectors (separetely from ferrules) + - # attach connectors (separately from ferrules) - W1: [1-4] - X1: [1-4] ``` @@ -262,7 +262,7 @@ ferrules: # ferrules cables: W1: - category: bundle # budnle + category: bundle # bundle length: 0.3 gauge: 0.5 mm2 colors: [YE, BK, BK, RD] # custom colors, wirecount is implicit @@ -271,7 +271,7 @@ connections: - # attach ferrules - F_05 - W1: [1,4] # a new ferrule is auto-generated for each wire - - # attach connectors (separetely from ferrules) + - # attach connectors (separately from ferrules) - W1: [1-4] - X1: [1-4] - diff --git a/tutorial/tutorial05.yml b/tutorial/tutorial05.yml index 148879b..e238f30 100644 --- a/tutorial/tutorial05.yml +++ b/tutorial/tutorial05.yml @@ -21,6 +21,6 @@ connections: - # attach ferrules - F1 # no need for list of connections; one ferrule per wire is auto-generated and attached - W1: [1-4] # a new ferrule is auto-generated for each wire - - # attach connectors (separetely from ferrules) + - # attach connectors (separately from ferrules) - W1: [1-4] - X1: [1-4] diff --git a/tutorial/tutorial06.yml b/tutorial/tutorial06.yml index 2f2ab64..f69499c 100644 --- a/tutorial/tutorial06.yml +++ b/tutorial/tutorial06.yml @@ -17,7 +17,7 @@ ferrules: # ferrules cables: W1: - category: bundle # budnle + category: bundle # bundle length: 0.3 gauge: 0.5 mm2 colors: [YE, BK, BK, RD] # custom colors, wirecount is implicit @@ -26,7 +26,7 @@ connections: - # attach ferrules - F_05 - W1: [1,4] # a new ferrule is auto-generated for each wire - - # attach connectors (separetely from ferrules) + - # attach connectors (separately from ferrules) - W1: [1-4] - X1: [1-4] -