Skip to content

Commit

Permalink
tiler: change vars don't conform to snake_case naming style
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestoarbitrio authored and alessiamarcolini committed Sep 14, 2020
1 parent 44e4d19 commit 87fc142
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/histolab/tiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,10 +648,12 @@ def _save_report(
)
]

with open(report_path, "w+", newline="") as f:
w = csv.DictWriter(f, fieldnames=header, lineterminator=os.linesep)
w.writeheader()
w.writerows(rows)
with open(report_path, "w+", newline="") as filename:
writer = csv.DictWriter(
filename, fieldnames=header, lineterminator=os.linesep
)
writer.writeheader()
writer.writerows(rows)

@staticmethod
def _scale_scores(
Expand Down

0 comments on commit 87fc142

Please sign in to comment.