Skip to content

Commit

Permalink
Remove unused outstate config option (#1967)
Browse files Browse the repository at this point in the history
Also the `subgrid` option was missing in the `docs.toml`. It is
documented though, `outstate` was not.
visr authored Dec 13, 2024

Verified

This commit was signed with the committer’s verified signature.
blittle Bret Little
1 parent 5c08e2f commit e8b5439
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion core/src/config.jl
Original file line number Diff line number Diff line change
@@ -119,7 +119,6 @@ end

# Separate struct, as basin clashes with nodetype
@option struct Results <: TableOption
outstate::Union{String, Nothing} = nothing
compression::Bool = true
compression_level::Int = 6
subgrid::Bool = false
4 changes: 2 additions & 2 deletions core/test/docs.toml
Original file line number Diff line number Diff line change
@@ -45,9 +45,9 @@ evaporate_mass = true # optional, default true to simulate a correct mass balan
verbosity = "info" # optional, default "info", can otherwise be "debug", "warn" or "error"

[results]
# These results files are always written
compression = true # optional, default true, using zstd compression
compression = true # optional, default true, using zstd compression
compression_level = 6 # optional, default 6
subgrid = false # optional, default false

[experimental]
# Experimental features, disabled by default
1 change: 0 additions & 1 deletion python/ribasim/ribasim/config.py
Original file line number Diff line number Diff line change
@@ -71,7 +71,6 @@ class Allocation(ChildModel):


class Results(ChildModel):
outstate: str | None = None
compression: bool = True
compression_level: int = 6
subgrid: bool = False

0 comments on commit e8b5439

Please sign in to comment.