We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1aff28 commit 8518425Copy full SHA for 8518425
snakemake_interface_executor_plugins/utils.py
@@ -63,7 +63,10 @@ def maybe_encode(value):
63
if isinstance(value, SettingsEnumBase):
64
return value.item_to_choice()
65
elif isinstance(value, Path):
66
- return shlex.quote(str(value))
+ if base64_encode:
67
+ return encode_as_base64(str(value))
68
+ else:
69
+ return shlex.quote(str(value))
70
elif isinstance(value, str):
71
if is_quoted(value) and not base64_encode:
72
# the value is already quoted, do not quote again
0 commit comments