Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
fix: path stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
BobBorges committed Feb 20, 2024
1 parent b149a46 commit bc10d80
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/stats-dashboard/mp-coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def main():
baseline_df = pd.read_csv("corpus/quality_assessment/baseline_mp_frequencies_per_year/number_mp_in_parliament.csv")
baseline_df['year'] = baseline_df['year'].apply(lambda x: str(x)[:4])
#print(baseline_df)
dates = pd.read_csv("corpus/quality_assessment/session-dates/session-dates.csv", sep=";")
dates = pd.read_csv("test/data/session-dates/session-dates.csv", sep=";")
dates = dates[~dates['protocol'].isin(skip)]
dates = dates[~dates['date'].isin(["2021", "1977"])]
#print(dates)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def test_cf_emil_party(self):


def test_session_dates(self):
dates_df = pd.read_csv("test/data/db_session-dates/session-dates.csv", sep=';')
dates_df = pd.read_csv("test/data/session-dates/session-dates.csv", sep=';')
protocols = sorted(list(protocol_iterators("corpus/protocols/", start=1867, end=2022)))
config = fetch_config("db")

Expand Down

0 comments on commit bc10d80

Please sign in to comment.