Skip to content

Abstract add_mappings code into common generator superclass #278

@cmungall

Description

@cmungall

def add_mappings is duplicated across different generators with drift between the code, causing a variety of subtle issues relating to loss of prefix information

See my comment here:

#192 (comment)

The fix is to simply move add_mappings from jsonldcontext gen into the parent, and to remove it from pythongen and prefixmapgen

I hypothesize this will fix #163

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