From c4d4a4134e2b20cc7535d3c1774bf93876709e3e Mon Sep 17 00:00:00 2001 From: singularitti Date: Mon, 20 Nov 2023 03:03:45 -0500 Subject: [PATCH] Fix `build` --- src/MD/Recipes.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MD/Recipes.jl b/src/MD/Recipes.jl index 73fa5108..e4ca6463 100644 --- a/src/MD/Recipes.jl +++ b/src/MD/Recipes.jl @@ -138,13 +138,13 @@ function build(::Type{Workflow}, r::IonDynamicsRecipe) stage₁ = stage(FixedCellOptimization(), r) stage₂ = stage(IonDynamicsRecipe(), r) stage₁.extractcells .→ stage₂.makeinputs - return Workflow(stage₂.download) + return Workflow(stage₁.download) end function build(::Type{Workflow}, r::VariableCellMolecularDynamicsRecipe) stage₁ = stage(VariableCellOptimization(), r) stage₂ = stage(VariableCellMolecularDynamics(), r) stage₁.extractcells .→ stage₂.makeinputs - return Workflow(stage₂.download) + return Workflow(stage₁.download) end function build(::Type{Workflow}, file) dict = load(file)