Skip to content

Fix datePub parsing in metadata generation #3

Description

@srappel

In metadata.py, update compute_details_from_oim() to properly handle and parse datePub values from OpenIndexMap.features. Currently uses .get() on a class.

Replace:
for sheet in oim.get("features", [])

With:
for sheet in oim.features

Ensure all sheets are instances of Sheet, not raw dicts. Add error handling for malformed or missing dates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions