diff --git a/ogc/bblocks/util.py b/ogc/bblocks/util.py index 58df600..fa5f0fa 100644 --- a/ogc/bblocks/util.py +++ b/ogc/bblocks/util.py @@ -89,6 +89,7 @@ def __init__(self, identifier: str, metadata_file: Path, except Exception as e: raise BuildingBlockError('Error validating building block metadata') from e + self.metadata.pop('itemIdentifier', None) self.metadata: dict[str, Any] = { 'itemIdentifier': identifier, **self.metadata,