Skip to content

Commit

Permalink
initialize found_duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
keurfonluu committed Jan 9, 2024
1 parent f840cfe commit 01dd216
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions toughio/_io/output/_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def to_output(file_type, labels_order, headers, times, labels, variables):
if file_type == "connection" and len(labels[0]):
# Check whether there are duplicate connections
connections = {}
found_duplicate = False

for i, (c1, c2) in enumerate(outputs[0].labels):
if (c1, c2) in connections:
Expand Down

0 comments on commit 01dd216

Please sign in to comment.