Skip to content

Commit

Permalink
remove blank lines
Browse files Browse the repository at this point in the history
  • Loading branch information
muddymudskipper committed Jun 24, 2024
1 parent 2c92ee1 commit bcf1e56
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 118 deletions.
3 changes: 0 additions & 3 deletions cmem_plugin_robotreason/plugin_robotreason.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,12 +313,9 @@ def set_axioms(self) -> str:
"object_property_range": "ObjectPropertyRange",
"object_property_domain": "ObjectPropertyDomain",
}

axioms = " ".join(v for k, v in axioms_dict.items() if self.__dict__[k])

if not axioms:
raise ValueError("No axioms selected.")

return axioms

def reason(self, graphs: dict) -> None:
Expand Down
Loading

0 comments on commit bcf1e56

Please sign in to comment.