Skip to content

Commit

Permalink
Update src/QHA.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
singularitti committed Nov 2, 2023
1 parent 106b58e commit c750671
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/QHA.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"Subcommands of `xps` for the QHA workflow."
module QHA

using AbInitioSoftwareBase: load
using Comonicon: @cast
using ExpressBase.Files: load
using Express.QuasiHarmonicApproxWorkflow.Recipes: buildworkflow
using SimpleWorkflows: run!

Expand All @@ -15,8 +15,8 @@ Run a configuration file (with an absolute path will be better). It is equivalen
"""
@cast function run(file)
workflow = buildworkflow(file)
dict = load(file)
run!(workflow; filename = dict["save"]["status"])
exec = run!(workflow)
wait(exec)
return workflow
end

Expand Down

0 comments on commit c750671

Please sign in to comment.