Skip to content

Commit 1f2b299

Browse files
committed
bump version, fix changelog
1 parent 8302137 commit 1f2b299

File tree

3 files changed

+4
-41
lines changed

3 files changed

+4
-41
lines changed

CHANGELOG.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Changelog
22

33

4-
## [1.9.0] 2024-09-29
4+
## [1.8.0] - 2024-09-29
55

6-
- Allow plotting of grids without boundary info
6+
- Allow plotting using grids without boundary info
77

8-
- Add dispatches for scalarplot(coord, cellnodes, func; kwargs...)
8+
- Add dispatches for plotting with 'coord, cellnodes'
99

1010

1111
## [1.7.0] - 2024-06-18

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "GridVisualize"
22
uuid = "5eed8a63-0fb0-45eb-886d-8d5a387d12b8"
33
authors = ["Juergen Fuhrmann <[email protected]>"]
4-
version = "1.7"
4+
version = "1.8"
55

66
[deps]
77
ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4"

test/runtests.jl

-37
Original file line numberDiff line numberDiff line change
@@ -9,40 +9,3 @@ include("../docs/makeplots.jl")
99
makeplots(mktempdir(); Plotter = CairoMakie, extension = ".svg")
1010
end
1111

12-
function testnotebook(input)
13-
# de-markdown eventual cells with Pkg.develop and write
14-
# to pluto-tmp.jl
15-
notebook = Pluto.load_notebook_nobackup(input)
16-
pkgcellfortest = findfirst(c -> occursin("Pkg.develop", c.code), notebook.cells)
17-
if pkgcellfortest != nothing
18-
# de-markdown pkg cell
19-
notebook.cells[pkgcellfortest].code = replace(notebook.cells[pkgcellfortest].code, "md" => "")
20-
notebook.cells[pkgcellfortest].code = replace(notebook.cells[pkgcellfortest].code, "\"\"\"" => "")
21-
notebook.cells[pkgcellfortest].code = replace(notebook.cells[pkgcellfortest].code, ";" => "")
22-
@info "Pkg cell: $(pkgcellfortest)\n$(notebook.cells[pkgcellfortest].code)"
23-
Pluto.save_notebook(notebook, "pluto-tmp.jl")
24-
input = "pluto-tmp.jl"
25-
eval(Meta.parse(notebook.cells[pkgcellfortest].code))
26-
end
27-
28-
# run notebook and check for cell errors
29-
session = Pluto.ServerSession()
30-
notebook = Pluto.SessionActions.open(session, input; run_async = false)
31-
errored = false
32-
for c in notebook.cells
33-
if c.errored
34-
errored = true
35-
@error "Error in $(c.cell_id): $(c.output.body[:msg])\n $(c.code)"
36-
end
37-
end
38-
!errored
39-
end
40-
41-
@testset "notebooks" begin
42-
# notebooks=["plutovista.jl"]
43-
# for notebook in notebooks
44-
# input=joinpath(@__DIR__,"..","examples",notebook)
45-
# @info "notebook: $(input)"
46-
# @test testnotebook(input)
47-
# end
48-
end

0 commit comments

Comments
 (0)