From 4c2905d07be160cd71dcc03c5d84db46bbebd0ef Mon Sep 17 00:00:00 2001 From: singularitti Date: Mon, 20 Nov 2023 01:22:32 -0500 Subject: [PATCH] Revert "Fix `StaticConfig`" This reverts commit 663e9ee08f97588d06006be389d14a25978c34d4. --- src/Phonon/Config.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Phonon/Config.jl b/src/Phonon/Config.jl index d5c5add6..033f1e0d 100644 --- a/src/Phonon/Config.jl +++ b/src/Phonon/Config.jl @@ -24,7 +24,7 @@ end @option struct StaticConfig <: AbstractConfig recipe::String - template::String + templates::Vector{String} at::Union{Pressures,Volumes} io::IO = IO() data::Data = Data() @@ -60,7 +60,7 @@ function expand(config::StaticConfig, calculation::Calculation) conf = Conf() conf.cli = config.cli conf.calculation = calculation - _update!(conf, config.template) + _update!(conf, config.templates) _update!(conf, config.at) _update!(conf, config.io, config.at) _update!(conf, config.data)