Skip to content

Commit 5995892

Browse files
committed
Corrects a bug with multiple 'extra_opts' argument. Fixes #82
1 parent 156fcc2 commit 5995892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

structure_threader/wrappers/faststructure_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def fs_cli_generator(k_val, arg):
4040

4141
cli = ["python2", arg.external_prog, "-K", str(k_val), "--input",
4242
infile, "--output", output_file, "--format", file_format,
43-
"--seed", str(arg.seed), arg.extra_options]
43+
"--seed", str(arg.seed)] + arg.extra_options.split()
4444

4545
# Are we using the python script or a binary?
4646
if arg.external_prog.endswith(".py") is False:

0 commit comments

Comments
 (0)