Skip to content

Commit

Permalink
minor updates to acceptance criteria code
Browse files Browse the repository at this point in the history
  • Loading branch information
AshishKuls committed Apr 19, 2024
1 parent a89a01f commit d91d040
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tm2py/acceptance/acceptance.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class Acceptance:
"technology": pd.Series(dtype="str"),
"route_short_name": pd.Series(dtype="str"),
"route_long_name": pd.Series(dtype="str"),
"trip_headsign": pd.Series(dtype="str"),
#"trip_headsign": pd.Series(dtype="str"),
"time_period": pd.Series(dtype="str"),
"route_observed_boardings": pd.Series(dtype="float"),
"route_simulated_boardings": pd.Series(dtype="float"),
Expand Down
3 changes: 1 addition & 2 deletions tm2py/acceptance/simulated.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,15 +649,14 @@ def _join_tm2_mode_codes(self, input_df):

def _reduce_simulated_transit_boardings(self):

root_dir = self.scenario_dict["scenario"]["root_dir"]
file_prefix = "boardings_by_line_"

c_df = pd.DataFrame()
for time_period in self.model_time_periods:

df = pd.read_csv(
os.path.join(
root_dir, "output_summaries", file_prefix + time_period + ".csv"
"output_summaries", file_prefix + time_period + ".csv"
)
)
df["time_period"] = time_period
Expand Down

0 comments on commit d91d040

Please sign in to comment.