diff --git a/matsim/calibration/base.py b/matsim/calibration/base.py index a60d1d7..e25c0d0 100644 --- a/matsim/calibration/base.py +++ b/matsim/calibration/base.py @@ -188,7 +188,7 @@ def convert(cls, arg) -> pd.DataFrame: if arg.endswith(".csv"): return pd.read_csv(arg) - raise ValueError(f"Input {path} of {type(path)} is not supported. Use csv or dataframes, or implement custom conversion method.") + raise ValueError(f"Input {arg} of type {type(arg)} is not supported. Use csv or dataframes, or implement custom conversion method.") @staticmethod def get_mode_params(config: dict, mode: str):