Skip to content

Commit

Permalink
Add trailing commas for improved maintainability
Browse files Browse the repository at this point in the history
  • Loading branch information
anitacaron committed Oct 14, 2024
1 parent 02f59c3 commit bd11739
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions util/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def robot_prepare_ontology(
base_iris,
make_base,
robot_prefixes=None,
robot_opts="-v"
robot_opts="-v",
):
"""
Run ROBOT mesure on the base, but generate it first if not available
Expand All @@ -370,15 +370,15 @@ def robot_prepare_ontology(
for s in base_iris:
callstring.extend(["--base-iri", s])
callstring.extend(
["--axioms", "external", "--trim", "false", "-p", "false"]
["--axioms", "external", "--trim", "false", "-p", "false",]
)

# Measure stuff
callstring.extend(["measure"])
for prefix in robot_prefixes:
callstring.extend(["--prefix", f"{prefix}: {robot_prefixes[prefix]}"])
callstring.extend(
["--metrics", "extended-reasoner", "-f", "yaml", "-o", o_metrics_path]
["--metrics", "extended-reasoner", "-f", "yaml", "-o", o_metrics_path,]
)

# Output
Expand Down

0 comments on commit bd11739

Please sign in to comment.