Skip to content

Commit

Permalink
Remove dependencies
Browse files Browse the repository at this point in the history
ClimaParams should not depend on `Test` (no package should do so).
`DocStringExtensions` was barely used, so I removed it (every package that uses
ClimaParams inherits this dependency)
  • Loading branch information
Sbozzolo committed Sep 2, 2024
1 parent 996dc13 commit 769f189
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
ClimaParams.jl Release Notes
========================

v0.10.14
------
- Remove all dependencies ([#208](https://github.com/CliMA/ClimaParams.jl/pull/208))

v0.10.13
------
- Remove mol co2 to kg C factor AutotrophicResp, add kg C to mol CO2 factor Heterotrophic Resp ([#205](https://github.com/CliMA/ClimaParams.jl/pull/205))
Expand Down
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name = "ClimaParams"
uuid = "5c42b081-d73a-476f-9059-fd94b934656c"
authors = ["Climate Modeling Alliance"]
version = "0.10.13"
version = "0.10.14"

[deps]
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
DocStringExtensions = "0.8, 0.9"
julia = "1"
TOML = "1"
Test = "1"
1 change: 0 additions & 1 deletion src/ClimaParams.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module ClimaParams

using TOML
using DocStringExtensions

export AbstractTOMLDict
export ParamDict
Expand Down
3 changes: 2 additions & 1 deletion src/file_parsing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ Uses the name to search
# Fields
$(DocStringExtensions.FIELDS)
- `data`: dictionary representing a default/merged parameter TOML file
- `override_dict`: either a nothing, or a dictionary representing an override parameter TOML file
"""
struct ParamDict{FT} <: AbstractTOMLDict{FT}
"dictionary representing a default/merged parameter TOML file"
Expand Down

0 comments on commit 769f189

Please sign in to comment.