diff --git a/example/Artifacts.toml b/example/Artifacts.toml new file mode 100644 index 0000000..48a6f8b --- /dev/null +++ b/example/Artifacts.toml @@ -0,0 +1,6 @@ +[example] +git-tree-sha1 = "77138514a045ce9866f67252b58448fd7edef4ac" + + [[example.download]] + sha256 = "03a785e370b89a1fa467aee23e0711c52385a9893823198314e697199ea9faf1" + url = "https://gist.github.com/jonschumacher/031922964809632c4d2a80ccd5d90ad1/raw/77138514a045ce9866f67252b58448fd7edef4ac.tar.gz" \ No newline at end of file diff --git a/example/plotField.jl b/example/plotField.jl index ef030a0..a38f385 100644 --- a/example/plotField.jl +++ b/example/plotField.jl @@ -1,7 +1,11 @@ using PyPlot using LinearAlgebra +using Artifacts using MPISphericalHarmonics -field = SphericalHarmonicsDefinedField(".\\MPISphericalHarmonics.jl\\FFP000COMSOLOptimized_tDesgn_t=12_r=45.h5") +filename = joinpath(artifact"example", "FFP000COMSOLOptimized_tDesgn_t=12_r=45.h5") +field = SphericalHarmonicsDefinedField(filename) + +figure() imshow(norm.(field[-0.02:0.001:0.02, -0.02:0.001:0.02, 0])) \ No newline at end of file diff --git a/test/runtests.jl b/test/runtests.jl index b1e432a..fe0677c 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -15,7 +15,7 @@ const tmpdir = @get_scratch!("tmp") @testset "MPISphericalHarmonics.jl" begin @testset "Aqua" begin - Aqua.test_all(MPISphericalHarmonics, ambiguities=false) + Aqua.test_all(MPISphericalHarmonics) end @testset "Ideal Coefficents" begin