ISA-tools / ISA-tools/isa-api

update context_url in json2jsonld.py

Open
#613 0 comments 0 reactions 1 assignee View on GitHub

@proccaserra is already working on this.

Since Feb 10, 2026.

bug
Dominant language
Python
Stars
48
Forks
42
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.