Skip to content

Commit 75c65b1

Browse files
author
AREMA Ontology Bot
committed
fix: remove ontology generation and upload from csv2ont.py
1 parent 663751a commit 75c65b1

3 files changed

Lines changed: 4 additions & 650 deletions

File tree

src/arema/update_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,11 @@ def run_conversion():
128128
# Step 3: Upload to local Fuseki instance
129129
logger.info("Uploading validated ontology to local Fuseki...")
130130
upload_success = csv2ont.upload_to_fuseki(
131-
csv2ont.TTL_PATH,
131+
str(csv2ont.TTL_PATH),
132132
os.getenv("FUSEKI_URL"),
133133
os.getenv("FUSEKI_USERNAME"),
134134
os.getenv("FUSEKI_PASSWORD"),
135-
"https://ontology.atlas-regenmat.ch/"
135+
os.getenv("GRAPH_URI", "https://ontology.atlas-regenmat.ch/")
136136
)
137137

138138
if not upload_success:

0 commit comments

Comments
 (0)