Skip to content

bug: these keys may not exist #9

@hot007

Description

@hot007

in csiro.py, need to only write some keys in citation if they exist.

extra = ['access', 'accessLevel', 'rights', 'dataRestricted']
    for k in extra:
        if k in keys:
            out['citation'] += f"<p>{k.capitalize()}: {data[k]} </p>"

Note this may already be fixed in @paolap 's dev area so just reporting for now rather than fixing on main branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions