Skip to content

Commit 91bc178

Browse files
authored
Merge pull request #65 from hrshdhgd/ofn-format-specified
`ofn` format specified after chaining `convert`
2 parents a435620 + c87c9ad commit 91bc178

File tree

1 file changed

+2
-1
lines changed
  • src/ontobot_change_agent

1 file changed

+2
-1
lines changed

src/ontobot_change_agent/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ def process_issue_via_jar(input: str, commands: list, jar_path: str, output: str
244244
cli_commands = [
245245
' -k "{}"'.format(command.replace('"', "'")) for command in commands if len(commands) > 1
246246
]
247-
full_command = cli_command + " ".join(cli_commands) + f" -o {output}"
247+
conversion = f" convert --format ofn -o {output}"
248+
full_command = cli_command + " ".join(cli_commands) + conversion
248249
# Run the command on the command line
249250
subprocess.run(full_command, shell=True) # noqa S602

0 commit comments

Comments
 (0)