We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ae53ad commit bc6962eCopy full SHA for bc6962e
_delphi_utils_python/delphi_utils/geomap.py
@@ -131,14 +131,14 @@ def __init__(self, census_year=2020):
131
self._crosswalks[from_code][to_code] = \
132
self._load_crosswalk_from_file(from_code,
133
to_code,
134
- join(f"data/{census_year}", file_path)
+ join("data", f"{census_year}", file_path)
135
)
136
137
for geo_type in self._geos:
138
self._geo_sets[geo_type] = self._load_geo_values(geo_type)
139
140
def _load_crosswalk_from_file(self, from_code, to_code, data_path):
141
- stream = importlib_resources.files(__name__).joinpath(data_path)
+ stream = importlib_resources.files(__name__) / data_path
142
dtype = {
143
from_code: str,
144
to_code: str,
0 commit comments