Skip to content

Commit

Permalink
Linted E0601 and E0606
Browse files Browse the repository at this point in the history
  • Loading branch information
cbueth committed Jun 12, 2024
1 parent bbd1857 commit 9af06d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions superblockify/metrics/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ def plot_distance_matrices_pairwise_relative_difference(metric, name=None):
# Iterate over all combinations of keys, for the upper triangle make the axes
# invisible
# Only write labels on the left and bottom axes
dist_im = None
diff_im = None
for i, (key_i, key_j) in enumerate(product(metric.distance_matrix, repeat=2)):
axe = axes[i // len(metric.distance_matrix), i % len(metric.distance_matrix)]

Expand Down
1 change: 1 addition & 0 deletions superblockify/partitioning/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ def save_to_gpkg(
if save_path is not None
else join(partitioner.results_dir, partitioner.name + ".gpkg")
)
parts = None
if partitioner.components:
parts = partitioner.components
logger.info(
Expand Down

0 comments on commit 9af06d0

Please sign in to comment.