Skip to content

Commit

Permalink
replace identifier by str
Browse files Browse the repository at this point in the history
  • Loading branch information
samwaseda committed Jan 29, 2025
1 parent dfaa947 commit 83d4a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyiron_ontology/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def get_triples(
for io_ in ["inputs", "outputs"]:
for key, d in data[io_].items():
channel_label = URIRef(node_label + f".{io_}." + key)
graph.add((channel_label, RDFS.label, Literal(channel_label.identifier)))
graph.add((channel_label, RDFS.label, Literal(str(channel_label))))
graph.add((channel_label, RDF.type, PROV.Entity))
if d.get("uri", None) is not None:
graph.add((channel_label, RDF.type, URIRef(d["uri"])))
Expand Down

0 comments on commit 83d4a7b

Please sign in to comment.