Skip to content

Commit

Permalink
Pass individual flags to executable
Browse files Browse the repository at this point in the history
E.g., pass ["-foo", "-bar"] instead of "-foo -bar".
  • Loading branch information
JanCBrammer committed Oct 15, 2024
1 parent 64ce7ce commit e922950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion INCHI-1-TEST/tests/test_executable/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def _run_inchi_exe(
raise FileNotFoundError(f"InChI executable not found at {exe_path}.")

return subprocess.run(
[exe_path, molfile_path, args],
[exe_path, molfile_path] + args.split(),
capture_output=True,
text=True,
)
Expand Down

0 comments on commit e922950

Please sign in to comment.