From 1343aa1d5a4a0a909b64046986d607ec8bfd658f Mon Sep 17 00:00:00 2001 From: singularitti Date: Thu, 26 Oct 2023 17:45:27 -0400 Subject: [PATCH 1/2] Replace `Parameters.@with_kw` with `Base.@kwdef` in src/PWscf/output.jl --- src/PWscf/output.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/PWscf/output.jl b/src/PWscf/output.jl index e8b7f5e..124d6e7 100644 --- a/src/PWscf/output.jl +++ b/src/PWscf/output.jl @@ -1,6 +1,5 @@ # using Dates: DateTime, DateFormat using DataFrames: AbstractDataFrame, DataFrame, groupby -using Parameters: @with_kw using QuantumESPRESSOBase.PWscf using VersionParsing: vparse @@ -55,7 +54,7 @@ struct Davidson <: Diagonalization end struct ConjugateGradient <: Diagonalization end struct ProjectedPreconditionedConjugateGradient <: Diagonalization end -@with_kw struct Preamble +Base.@kwdef struct Preamble ibrav::Int alat::Float64 omega::Float64 From 46e6e75cf1a8a409b428793176fdddea85c6e84e Mon Sep 17 00:00:00 2001 From: singularitti Date: Thu, 26 Oct 2023 17:45:45 -0400 Subject: [PATCH 2/2] Remove Parameters.jl from deps --- Project.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Project.toml b/Project.toml index 7eb58b3..441aa16 100644 --- a/Project.toml +++ b/Project.toml @@ -7,7 +7,6 @@ version = "0.4.0" AbInitioSoftwareBase = "df5135bc-470e-46c6-b451-292e27ca5b84" CrystallographyBase = "93b1d1cd-a8ea-4aa5-adb1-b2407ea0ba8d" DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" -Parameters = "d96e819e-fc66-5662-9728-84c9c7592b0a" PyFortran90Namelists = "e44308e6-bd5b-11e9-2850-49daf8f1ec40" QuantumESPRESSOBase = "51b62caa-b28f-11e9-38c2-1f67cb498e05" ReadableRegex = "cbbcb084-453d-4c4c-b292-e315607ba6a4" @@ -17,7 +16,6 @@ VersionParsing = "81def892-9a0e-5fdd-b105-ffc91e053289" AbInitioSoftwareBase = "0.10" CrystallographyBase = "0.14" DataFrames = "0.14, 0.15, 0.16, 0.17, 0.18, 0.19, 0.20, 0.21, 0.22, 1" -Parameters = "0.10, 0.11, 0.12" PyFortran90Namelists = "0.1" QuantumESPRESSOBase = "0.10, 0.11" ReadableRegex = "0.1, 0.2, 0.3"