Skip to content


Browse files Browse the repository at this point in the history
fix: key error when handling FileNotFoundError in input functions. (#…
  • Loading branch information
johanneskoester committed Aug 17, 2021
1 parent 2104e10 commit d25f04d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snakemake/
Expand Up @@ -708,7 +708,7 @@ def apply_input_function(
# Function evaluation can depend on input files. Since expansion can happen during dryrun,
# where input files are not yet present, we need to skip such cases and
# mark them as <TBD>.
if e.filename in aux_params["input"]:
if "input" in aux_params and e.filename in aux_params["input"]:
value = TBDString()
raise e
Expand Down

0 comments on commit d25f04d

Please sign in to comment.