From b09fce0dd73730f6ccd1b5764c9e3e95e582e63d Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 8 Jun 2021 10:58:08 +0200 Subject: [PATCH] export versions --- src/API.jl | 3 ++- src/input.jl | 4 ---- test/runtests.jl | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/API.jl b/src/API.jl index 89522737..01382d10 100644 --- a/src/API.jl +++ b/src/API.jl @@ -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! diff --git a/src/input.jl b/src/input.jl index 5cc36b37..2b7c5965 100644 --- a/src/input.jl +++ b/src/input.jl @@ -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...) diff --git a/test/runtests.jl b/test/runtests.jl index 0d55fcde..d58caf5c 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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