Skip to content

Commit

Permalink
DEP: bump inifix to 5.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Dec 13, 2024
1 parent 0c18ced commit 1f0d70e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions nonos/_readers/ini.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(self, *, Hydro, Output, **_kwargs) -> None:
self.hydro = IdefixIniHydro(**Hydro)
self.output = IdefixIniOutput(**Output)

meta = inifix.load(file)
meta = inifix.load(file, sections="require")
ini = IdefixIni(**meta)

return IniData(
Expand All @@ -59,7 +59,7 @@ class PlutoIni:
def __init__(self, **kwargs) -> None:
self.output = PlutoIniOutput(**kwargs["Static Grid Output"])

meta = inifix.load(file)
meta = inifix.load(file, sections="require")
ini = PlutoIni(**meta)

return IniData(
Expand Down Expand Up @@ -102,7 +102,7 @@ def __init__(
else:
raise NotImplementedError

meta = inifix.load(file)
meta = inifix.load(file, sections="forbid")
ini = Fargo3DIni(**meta)

return IniData(
Expand Down Expand Up @@ -145,7 +145,7 @@ def __init__(
else:
raise NotImplementedError

meta = inifix.load(file)
meta = inifix.load(file, sections="forbid")
ini = FargoADSGIni(**meta)

return IniData(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ requires-python = ">=3.10"

dependencies = [
"cblind>=2.3.0",
"inifix>=5.0.0",
"inifix>=5.1.0",
"lick>=0.5.1",
"loguru>=0.5.3",
"matplotlib>=3.5.0",
Expand Down

0 comments on commit 1f0d70e

Please sign in to comment.