Skip to content

Commit ca442f8

Browse files
committed
Made minor changes
1 parent a4ab948 commit ca442f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/3-report/github_report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def plot_totals_by_restriction(args):
199199
LOGGER.info(f"data file: {file_path.replace(PATHS['repo'], '.')}")
200200
name_label = "Category"
201201
data_label = "Count"
202-
data = shared.open_data_file(LOGGER, file_path, index_col=name_label)
202+
data = shared.open_data_file(LOGGER, file_path)
203203
data.set_index(name_label, inplace=True)
204204
data.sort_values(name_label, ascending=False, inplace=True)
205205
title = "Totals by restriction"

scripts/shared.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def open_data_file(logger, file_path, usecols=None):
7575
scripts use the same error behavior.
7676
"""
7777
try:
78-
# Attempt reading the file
78+
# Reading the file
7979
return pd.read_csv(file_path, usecols=usecols)
8080

8181
# File does not exist

0 commit comments

Comments
 (0)