Skip to content

Commit

Permalink
Fix imports in src/QuantumESPRESSOExpress.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
singularitti committed Nov 20, 2023
1 parent b674bc1 commit 0278a42
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/QuantumESPRESSOExpress.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ module QuantumESPRESSOExpress
using AbInitioSoftwareBase: AbInitioSoftware
using ExpressBase:
SelfConsistentField,
VariableCellOptimization,
MolecularDynamics,
StructuralOptimization,
LinearResponse,
FourierTransform,
PhononDispersion,
Expand Down Expand Up @@ -31,19 +32,20 @@ function (x::RunCmd{SelfConsistentField})(
)
return pw(input, output; kwargs...)
end
function (x::RunCmd{VariableCellOptimization})(
function (x::RunCmd{<:MolecularDynamics})(
input, output=mktemp(parentdir(input))[1]; kwargs...
)
return pw(input, output; kwargs...)
end
function (x::RunCmd{LinearResponse})(
function (x::RunCmd{<:StructuralOptimization})(
input, output=mktemp(parentdir(input))[1]; kwargs...
)
return pw(input, output; kwargs...)
end
function (x::RunCmd{LinearResponse})(input, output=mktemp(parentdir(input))[1]; kwargs...)
return ph(input, output; kwargs...)
end
function (x::RunCmd{FourierTransform})(
input, output=mktemp(parentdir(input))[1]; kwargs...
)
function (x::RunCmd{FourierTransform})(input, output=mktemp(parentdir(input))[1]; kwargs...)
return q2r(input, output; kwargs...)
end
function (x::RunCmd{<:Union{PhononDensityOfStates,PhononDispersion}})(
Expand Down

0 comments on commit 0278a42

Please sign in to comment.