Skip to content

Commit

Permalink
Merge pull request #117 from pyiron/update_semantikon
Browse files Browse the repository at this point in the history
Use latest semantikon version
  • Loading branch information
samwaseda authored Feb 2, 2025
2 parents 41af49a + 32adb42 commit 6b216df
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .binder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies:
- owlready2 =0.47
- pandas =2.2.3
- pint =0.24.4
- semantikon =0.0.9
- semantikon =0.0.10
- pyiron_workflow =0.11.2
- rdflib =7.1.1
- owlrl =7.1.2
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies:
- owlready2 =0.47
- pandas =2.2.3
- pint =0.24.4
- semantikon =0.0.9
- semantikon =0.0.10
- pyiron_workflow =0.11.2
- rdflib =7.1.1
- owlrl =7.1.2
2 changes: 1 addition & 1 deletion .ci_support/lower_bound.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies:
- pint =0.24
- pyiron_atomistics =0.6.19
- pyiron-data =0.0.26
- semantikon =0.0.9
- semantikon =0.0.10
- pyiron_workflow =0.11.0
- rdflib =7.1.1
- owlrl =7.1.2
2 changes: 1 addition & 1 deletion docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
- owlready2 =0.47
- pandas =2.2.3
- pint =0.24.4
- semantikon =0.0.9
- semantikon =0.0.10
- pyiron_workflow =0.11.2
- rdflib =7.1.1
- owlrl =7.1.2
Expand Down
4 changes: 2 additions & 2 deletions pyiron_ontology/parser.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from typing import TypeAlias, Any
import warnings

from semantikon.converter import parse_input_args, parse_output_args, _meta_to_dict
from semantikon.converter import parse_input_args, parse_output_args, meta_to_dict
from rdflib import Graph, Literal, RDF, RDFS, URIRef, OWL, PROV, Namespace
from pyiron_workflow import NOT_DATA, Workflow, Macro
from pyiron_workflow.node import Node
Expand Down Expand Up @@ -91,7 +91,7 @@ def _translate_has_value(
parent=tag_uri,
)
for k, v in dtype.__annotations__.items():
metadata = _meta_to_dict(v)
metadata = meta_to_dict(v)
_translate_has_value(
graph=graph,
label=label,
Expand Down

0 comments on commit 6b216df

Please sign in to comment.