From 965e9535c6773eb95fa3820d9383b8cae13811df Mon Sep 17 00:00:00 2001 From: Martijn Visser <mgvisser@gmail.com> Date: Thu, 5 Dec 2024 15:10:36 +0100 Subject: [PATCH] Use the pixi python --- pixi.toml | 2 +- python/ribasim/ribasim/geometry/edge.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pixi.toml b/pixi.toml index e820cc1fa..be433bf64 100644 --- a/pixi.toml +++ b/pixi.toml @@ -50,7 +50,7 @@ quarto-preview = { cmd = "quarto preview docs", depends_on = [ "generate-testmodels", ] } quarto-check = { cmd = "quarto check all", depends_on = ["quartodoc-build"] } -quarto-render = { cmd = "julia --eval 'using Pkg; Pkg.add(\"IJulia\"); Pkg.build(\"IJulia\")' && quarto render docs --to html --execute", depends_on = [ +quarto-render = { cmd = "julia --eval 'using Pkg; Pkg.add(\"IJulia\"); Pkg.build(\"IJulia\")' && quarto render docs --to html --execute", env = { CONDA_JL_HOME = "$CONDA_PREFIX" }, depends_on = [ "quartodoc-build", "generate-testmodels", ] } diff --git a/python/ribasim/ribasim/geometry/edge.py b/python/ribasim/ribasim/geometry/edge.py index bc473458f..f6285e1c5 100644 --- a/python/ribasim/ribasim/geometry/edge.py +++ b/python/ribasim/ribasim/geometry/edge.py @@ -90,7 +90,7 @@ def add( The geometry of a line. If not supplied, it creates a straight line between the nodes. name : str An optional name for the edge. - id : int + edge_id : int An optional non-negative edge ID. If not supplied, it will be automatically generated. **kwargs : Dict """