Skip to content

Commit

Permalink
conversion added as common to both robot plugin and standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
hrshdhgd committed Nov 2, 2023
1 parent 9551ec0 commit 01a1be7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ontobot_change_agent/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,12 @@ def process_issue_via_jar(input: str, commands: list, jar_path: str, output: str
"""
if jar_path:
cli_command = "java -jar {} apply -i {}".format(jar_path, input)
conversion = f" convert --format ofn -o {output}"
# conversion = f" convert --format ofn -o {output}"
else:
cli_command = "robot kgcl:apply -i {}".format(input)
conversion = f" -o {output}"
# conversion = f" -o {output}"

conversion = f" convert --format ofn -o {output}"
kgcl_commands = [
' -k "{}"'.format(command.replace('"', "'")) for command in commands if len(commands) > 0
]
Expand Down

0 comments on commit 01a1be7

Please sign in to comment.