diff --git a/tm2py/acceptance/acceptance.py b/tm2py/acceptance/acceptance.py index 00e53f81..61362267 100644 --- a/tm2py/acceptance/acceptance.py +++ b/tm2py/acceptance/acceptance.py @@ -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"), diff --git a/tm2py/acceptance/simulated.py b/tm2py/acceptance/simulated.py index 08102889..7b599982 100644 --- a/tm2py/acceptance/simulated.py +++ b/tm2py/acceptance/simulated.py @@ -649,7 +649,6 @@ 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() @@ -657,7 +656,7 @@ def _reduce_simulated_transit_boardings(self): 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