Skip to content

Commit 22557cf

Browse files
authored
Merge pull request #35 from German-BioImaging/extract-wd
2 parents 84cca5e + c0f1533 commit 22557cf

File tree

3 files changed

+3
-231
lines changed

3 files changed

+3
-231
lines changed

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,9 @@ tests = [
6060
Repository = "https://github.com/German-BioImaging/omero-rdf"
6161
Changelog = "https://github.com/German-BioImaging/omero-rdf/blob/master/CHANGES.txt"
6262

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

6667
[tool.setuptools]
6768
package-dir = {""= "src"}

src/omero_rdf/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,6 @@ def load_handlers(self) -> Handlers:
322322
for ep in eps.get("omero_rdf.annotation_handler", []):
323323
ah_loader = ep.load()
324324
annotation_handlers.append(ah_loader(self))
325-
# We know there are some built in handlers
326-
assert len(annotation_handlers) >= 1
327325
return annotation_handlers
328326

329327
def load_server(self) -> Any:

src/omero_rdf/idr_annotations.py

Lines changed: 0 additions & 227 deletions
This file was deleted.

0 commit comments

Comments
 (0)