From 6433c8230592fabdf79c5a3a9225b56a42eeb5ba Mon Sep 17 00:00:00 2001 From: Jonas Schumacher Date: Fri, 28 Apr 2023 17:40:17 +0200 Subject: [PATCH 1/2] Update runtests.jl --- test/runtests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index 8bac765..984454d 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -7,7 +7,7 @@ using Aqua @testset "MPISphericalHarmonics.jl" begin @testset "Aqua" begin - Aqua.test_all(MPISphericalHarmonics, ambiguities=false) + Aqua.test_all(MPISphericalHarmonics) end From b74ca59551dbba2a86f3cacce27ff8ca430d079a Mon Sep 17 00:00:00 2001 From: Jonas Schumacher Date: Thu, 28 Sep 2023 11:54:54 +0200 Subject: [PATCH 2/2] Switch to artifact --- example/Artifacts.toml | 6 ++++++ example/plotField.jl | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 example/Artifacts.toml 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