Skip to content

Commit

Permalink
handle missing result
Browse files Browse the repository at this point in the history
  • Loading branch information
morsecodist committed Jan 24, 2022
1 parent 79c6e9c commit 5e36b92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def link_outputs(sfn_state):
for input_name, source in stage_io_dict.get(stage, {}).items():
if isinstance(source, list):
stage_input[input_name] = sfn_state["Input"].get(source[0], {}).get(source[1])
elif source in sfn_state["Result"]:
elif source in sfn_state.get("Result", []):
stage_input[input_name] = sfn_state["Result"][source]
put_stage_input(sfn_state=sfn_state, stage=stage, stage_input=stage_input)

Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.12.1-beta
v0.12.2-beta

0 comments on commit 5e36b92

Please sign in to comment.