Skip to content

Commit

Permalink
Force install of heat.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven committed Oct 2, 2023
1 parent 2b612dc commit 5d64b15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_julia.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

@pytest.mark.skipif(not BmiJulia, reason="R and its dependencies are not installed")
class TestJuliaHeatModel:
@pytest.fixture(scope="class")
@pytest.fixture(scope="class", autouse=True)
def install_heat(self):
jl.Pkg.add(
url="https://github.com/csdms/bmi-example-julia.git",
Expand Down Expand Up @@ -59,6 +59,7 @@ def model(self, cfg_file):
("get_var_nbytes", ["plate_surface__temperature"], 384),
("get_var_grid", ["plate_surface__temperature"], 0),
("get_var_location", ["plate_surface__temperature"], "node"),
# TODO spec says order should be y,x not x,y
("get_grid_shape", [0, np.zeros((2,))], [6, 8]),
("get_grid_spacing", [0, np.zeros((2,))], [1.0, 1.0]),
("get_grid_origin", [0, np.zeros((2,))], [0.0, 0.0]),
Expand Down

0 comments on commit 5d64b15

Please sign in to comment.