Skip to content

Commit

Permalink
Fix StaticConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
singularitti committed Nov 20, 2023
1 parent f10abd3 commit 663e9ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Phonon/Config.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ end

@option struct StaticConfig <: AbstractConfig
recipe::String
templates::Vector{String}
template::String
at::Union{Pressures,Volumes}
io::IO = IO()
data::Data = Data()
Expand Down Expand Up @@ -60,7 +60,7 @@ function expand(config::StaticConfig, calculation::Calculation)
conf = Conf()
conf.cli = config.cli
conf.calculation = calculation
_update!(conf, config.templates)
_update!(conf, config.template)
_update!(conf, config.at)
_update!(conf, config.io, config.at)
_update!(conf, config.data)
Expand Down

0 comments on commit 663e9ee

Please sign in to comment.