Skip to content

Commit

Permalink
fixes #320
Browse files Browse the repository at this point in the history
  • Loading branch information
o-smirnov committed Jun 16, 2024
1 parent b5cacdb commit 6672555
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions stimela/kitchen/step.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,9 @@ def run(self, backend: Optional[Dict] = None, subst: Optional[Dict[str, Any]] =

# Since prevalidation will have populated default values for potentially missing parameters, use those values
# For parameters that aren't missing, use whatever value that was suplied
params = self.validated_params.copy()
params.update(**self.params)
# preserve order of specified params, to allow ordered substitutions to occur
params = self.params.copy()
params.update([(key, value) for key, value in self.validated_params.items() if key not in params])

skip_warned = False # becomes True when warnings are given

Expand Down

0 comments on commit 6672555

Please sign in to comment.