Skip to content

update context_url in json2jsonld.py #613

Description

@proccaserra

Detected by error message generated when loading jsonld serialisation of ISA using rdflib: HTTPError 404 Not Found

at line 205:

context_url = (
            "https://raw.githubusercontent.com/ISA-tools/isa-api/develop/isatools/"
            "resources/json-context/%s/isa_" % self.ontology
        ) 

url should be pointing to 'main/master' branch.

url should have the following pattern:

https://raw.githubusercontent.com/ISA-tools/isa-api/refs/heads/master/isatools/resources/json-context/wd/isa_<object>_<semantic domain>_context.jsonld

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions