Skip to content

Commit

Permalink
Merge pull request #11 from casework/bump_rdf_toolkit_version
Browse files Browse the repository at this point in the history
Bump RDF Toolkit version; update retrieval point
  • Loading branch information
kchason authored Jun 13, 2024
2 parents bce40db + 0a09886 commit 0dbb22f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ docker run --rm \
```

## Credits
The `rdf-toolkit.jar` tool is obtained from [https://github.com/trypuz/openfibo](https://github.com/trypuz/openfibo).
The `rdf-toolkit.jar` tool is obtained from [https://github.com/edmcouncil/rdf-toolkit/](https://github.com/edmcouncil/rdf-toolkit/).


4 changes: 2 additions & 2 deletions pre_commit_hooks/normalize_rdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ def ensure_library() -> None:
]
urllib.request.install_opener(opener)
urllib.request.urlretrieve(
"https://files.caseontology.org/rdf-toolkit-1.11.0.jar",
"https://github.com/edmcouncil/rdf-toolkit/releases/download/v2.0/rdf-toolkit.jar",
"rdf-toolkit.jar",
)
# Validate the hash
if not check_filehash(
"rdf-toolkit.jar",
"cff74ca5835cb6c4935c613c901e064b7d166fdcc874e49da5104cf783036b99",
"d9998747e44c018245c8d769abb62e1b3d6b84405d2c456396e18f2e5088b8f1",
):
raise Exception("Invalid hash value")
except Exception as e:
Expand Down

0 comments on commit 0dbb22f

Please sign in to comment.