Skip to content

Commit

Permalink
Merge pull request #65 from hrshdhgd/ofn-format-specified
Browse files Browse the repository at this point in the history
`ofn` format specified after chaining `convert`
  • Loading branch information
hrshdhgd authored Sep 5, 2023
2 parents a435620 + c87c9ad commit 91bc178
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ontobot_change_agent/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ def process_issue_via_jar(input: str, commands: list, jar_path: str, output: str
cli_commands = [
' -k "{}"'.format(command.replace('"', "'")) for command in commands if len(commands) > 1
]
full_command = cli_command + " ".join(cli_commands) + f" -o {output}"
conversion = f" convert --format ofn -o {output}"
full_command = cli_command + " ".join(cli_commands) + conversion
# Run the command on the command line
subprocess.run(full_command, shell=True) # noqa S602

0 comments on commit 91bc178

Please sign in to comment.