Skip to content

Commit

Permalink
remove redundant input from unmerge
Browse files Browse the repository at this point in the history
  • Loading branch information
muddymudskipper committed Jun 25, 2024
1 parent a640c77 commit 1f01291
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmem_plugin_robotreason/plugin_robotreason.py
Original file line number Diff line number Diff line change
@@ -329,7 +329,6 @@ def set_axioms(self) -> str:
def reason(self, graphs: dict) -> None:
"""Reason"""
data_location = f"{self.temp}/{graphs[self.data_graph_iri]}"
vocab_location = f"{self.temp}/{graphs[self.ontology_graph_iri]}"
utctime = str(datetime.fromtimestamp(int(time()), tz=UTC))[:-6].replace(" ", "T") + "Z"
cmd = (
f'java -jar {ROBOT} merge --input "{data_location}" '
@@ -342,7 +341,7 @@ def reason(self, graphs: dict) -> None:
f"--exclude-tautologies all "
f"--exclude-external-entities "
f"reduce --reasoner {self.reasoner} "
f'unmerge --input "{data_location}" --input "{vocab_location}" '
f'unmerge --input "{data_location}" '
f'annotate --ontology-iri "{self.result_iri}" '
f"--remove-annotations "
f'--language-annotation rdfs:label "Eccenca Reasoning Result {utctime}" en '

0 comments on commit 1f01291

Please sign in to comment.