Skip to content

Commit

Permalink
Hotfix for NI
Browse files Browse the repository at this point in the history
Forgot to change this line as part of #108
  • Loading branch information
penelopeysm committed Jun 26, 2024
1 parent 51af727 commit a803b6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/popgetter/assets/ni/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ def _source_data_releases(
self, _context, geometry, data_publisher
) -> dict[str, SourceDataRelease]:
source_data_releases = {}
for geo_metadata, _, _ in geometry:
for geom in geometry:
source_data_release: SourceDataRelease = SourceDataRelease(
name="Census 2021",
# https://www.nisra.gov.uk/publications/census-2021-outputs-prospectus:
Expand All @@ -482,9 +482,9 @@ def _source_data_releases(
url="https://www.nisra.gov.uk/publications/census-2021-outputs-prospectus",
data_publisher_id=data_publisher.id,
description="TBC",
geometry_metadata_id=geo_metadata.id,
geometry_metadata_id=geom.metadata.id,
)
source_data_releases[geo_metadata.level] = source_data_release
source_data_releases[geom.metadata.level] = source_data_release
return source_data_releases

def _source_metric_metadata(
Expand Down

0 comments on commit a803b6a

Please sign in to comment.