Skip to content

Commit

Permalink
export versions
Browse files Browse the repository at this point in the history
  • Loading branch information
louisponet committed Jun 8, 2021
1 parent f9c65be commit b09fce0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/API.jl
Expand Up @@ -19,7 +19,8 @@ export gencalc_scf, gencalc_vcrelax, gencalc_nscf, gencalc_bands,
include("jobAPI.jl")
#Basic Job Control Functionality
export save, submit, abort, set_flow!, set_headerword!, isrunning, progressreport,
set_serverdir!, set_localdir!, structure, scale_cell!, volume, switch_version
set_serverdir!, set_localdir!, structure, scale_cell!, volume,
switch_version, version, versions

#Basic Interaction with DFInputs inside DFJob
export searchinput, searchinputs, set_cutoffs!
Expand Down
4 changes: 0 additions & 4 deletions src/input.jl
Expand Up @@ -350,10 +350,6 @@ for f in (:cp, :mv)
end

@eval function Base.$f(i::DFInput{Wannier90}, dest::String; kwargs...)
# $f(inpath(i), joinpath(dest, infilename(i)); kwargs...)
# if hasoutfile(i)
# $f(outpath(i), joinpath(dest, outfilename(i)); kwargs...)
# end
for glob in ("$(name(i))", "UNK") # seedname should also cover generated pw2wannier90 files
for f in searchdir(i, glob)
$f(f, joinpath(dest, splitdir(f)[end]); kwargs...)
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Expand Up @@ -5,7 +5,7 @@ testdir = @__DIR__
@time @testset "constants" begin @suppress include("constant_tests.jl") end
@time @testset "documenation" begin @suppress include("documentation_tests.jl") end
@time @testset "Setting defaults" begin @suppress include("defaults_tests.jl") end
@time @testset "Job from CIF file" begin include("jobfromcif_tests.jl") end
@time @testset "Job from CIF file" begin @suppress include("jobfromcif_tests.jl") end
@time @testset "Job control tests" begin @suppress include("job_control_tests.jl") end
@time @testset "Remove defaults" begin @suppress include("rmdefaults_tests.jl") end
end

0 comments on commit b09fce0

Please sign in to comment.