Skip to content

Commit

Permalink
Remove unnecessary check for length unit
Browse files Browse the repository at this point in the history
  • Loading branch information
formatc1702 committed Dec 6, 2020
1 parent d9b67e4 commit e9292fb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/wireviz/DataClasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,6 @@ def __post_init__(self) -> None:

self.connections = []

if self.length_unit is None: #Default wire length units to meters if left undeclared
self.length_unit = 'm'

if self.wirecount: # number of wires explicitly defined
if self.colors: # use custom color palette (partly or looped if needed)
pass
Expand Down

0 comments on commit e9292fb

Please sign in to comment.