Skip to content
Browse files
fix: preserve empty names input or output file lists in params or res…
…ource functions
  • Loading branch information
johanneskoester committed Mar 2, 2022
1 parent 994b151 commit 0d19ab0e6fcabe61b49d5ef9f2b293b9bcc06534
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
@@ -1416,7 +1416,7 @@ def __init__(
for name in self._allowed_overrides:
setattr(self, name, functools.partial(self._used_attribute, _name=name))

if toclone:
if toclone is not None:
if custom_map is not None:
self.extend(map(custom_map, toclone))
elif plainstr:
@@ -1427,7 +1427,7 @@ def __init__(
if isinstance(toclone, Namedlist):
if fromdict:
if fromdict is not None:
for key, item in fromdict.items():
@@ -825,7 +825,7 @@ def _apply_wildcards(
and not isinstance(item_, Path)
raise WorkflowError(
"Function did not return str or list " "of str.", rule=self
"Function did not return str or list of str.", rule=self

if from_callable and apply_path_modifier and not incomplete:

0 comments on commit 0d19ab0

Please sign in to comment.