Skip to content
Browse files
fix: key error when handling FileNotFoundError in input functions. (#…
  • Loading branch information
johanneskoester committed Aug 17, 2021
1 parent 2104e10 commit d25f04db820c9651835b7323baef5931d4f8dc0a
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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

0 comments on commit d25f04d

Please sign in to comment.