Skip to content

Commit

Permalink
Merge pull request #35 from German-BioImaging/extract-wd
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmoore authored Dec 11, 2024
2 parents 84cca5e + c0f1533 commit 22557cf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 231 deletions.
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ tests = [
Repository = "https://github.com/German-BioImaging/omero-rdf"
Changelog = "https://github.com/German-BioImaging/omero-rdf/blob/master/CHANGES.txt"

[project.entry-points."omero_rdf.annotation_handler"]
idr_annotations = "omero_rdf.idr_annotations:IDRAnnotationHandler"
# Subplugins should register there entrypoints like this:
# [project.entry-points."omero_rdf.annotation_handler"]
# idr_annotations = "omero_rdf_wikidata.idr_annotations:IDRAnnotationHandler"

[tool.setuptools]
package-dir = {""= "src"}
Expand Down
2 changes: 0 additions & 2 deletions src/omero_rdf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,6 @@ def load_handlers(self) -> Handlers:
for ep in eps.get("omero_rdf.annotation_handler", []):
ah_loader = ep.load()
annotation_handlers.append(ah_loader(self))
# We know there are some built in handlers
assert len(annotation_handlers) >= 1
return annotation_handlers

def load_server(self) -> Any:
Expand Down
227 changes: 0 additions & 227 deletions src/omero_rdf/idr_annotations.py

This file was deleted.

0 comments on commit 22557cf

Please sign in to comment.