diff --git a/src/elexmodel/handlers/data/BaseDataHandler.py b/src/elexmodel/handlers/data/BaseDataHandler.py index 3ae2977..34efd71 100644 --- a/src/elexmodel/handlers/data/BaseDataHandler.py +++ b/src/elexmodel/handlers/data/BaseDataHandler.py @@ -50,7 +50,7 @@ def get_data(self): preprocessed_data = StringIO(csv_data) else: # read data as a filepath - preprocessed_data = self.local_file_path + preprocessed_data = self.file_path data = pd.read_csv(preprocessed_data, dtype={"geographic_unit_fips": str, "county_fips": str, "district": str}) return self.load_data(data)