Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add quotes to each item of the wait_for_files list #1160

Merged
merged 6 commits into from Oct 21, 2021
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions snakemake/executors/__init__.py
Expand Up @@ -788,11 +788,11 @@ def format_job(self, pattern, job, **kwargs):

waitfiles_parameter = format(
"--wait-for-files-file {wait_for_files_file}",
wait_for_files_file=wait_for_files_file,
wait_for_files_file=('"' + wait_for_files_file + '"'),
fdchevalier marked this conversation as resolved.
Show resolved Hide resolved
)
else:
waitfiles_parameter = format(
"--wait-for-files {wait_for_files}", wait_for_files=wait_for_files
"--wait-for-files {wait_for_files}", wait_for_files=(" ".join(['"{0}"'.format(x) for x in wait_for_files])),
fdchevalier marked this conversation as resolved.
Show resolved Hide resolved
)

format_p = partial(
Expand Down