Skip to content

Commit

Permalink
Remove inadvertently added OGC content
Browse files Browse the repository at this point in the history
  • Loading branch information
recalcitrantsupplant committed Aug 25, 2023
1 parent ab067f3 commit 4d5a0ba
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions prez/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
from prez.routers.search import router as search_router
from prez.routers.spaceprez import router as spaceprez_router
from prez.routers.sparql import router as sparql_router
from prez.routers.ogc import router as ogc_router
from prez.routers.vocprez import router as vocprez_router
from prez.services.app_service import (
healthcheck_sparql_endpoints,
Expand Down Expand Up @@ -70,8 +69,6 @@
app.include_router(vocprez_router)
if "SpacePrez" in settings.prez_flavours:
app.include_router(spaceprez_router)
if "OGCPrez" in settings.prez_flavours:
app.include_router(ogc_router)
app.include_router(identifier_router)


Expand Down
2 changes: 1 addition & 1 deletion prez/services/app_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ async def add_prefixes_to_prefix_graph():


async def create_endpoints_graph() -> Graph:
flavours = ["CatPrez", "SpacePrez", "VocPrez", "OGCPrez"]
flavours = ["CatPrez", "SpacePrez", "VocPrez"]
added_anything = False
for f in (Path(__file__).parent.parent / "reference_data/endpoints").glob("*.ttl"):
# Check if file starts with any of the flavour prefixes
Expand Down
2 changes: 1 addition & 1 deletion prez/services/generate_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async def create_profiles_graph() -> Graph:
): # pytest imports app.py multiple times, so this is needed. Not sure why cache is
# not cleared between calls
return
flavours = ["CatPrez", "SpacePrez", "VocPrez", "OGCPrez"]
flavours = ["CatPrez", "SpacePrez", "VocPrez"]
for f in (Path(__file__).parent.parent / "reference_data/profiles").glob("*.ttl"):
# Check if file starts with any of the flavour prefixes
matching_flavour = next(
Expand Down

0 comments on commit 4d5a0ba

Please sign in to comment.