Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/MHD/Coarsening/python/testidefix.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
s = line.split()
inputFile = s[5][:-1]

input = inifix.load("../" + inputFile)
input = inifix.load(f"../{inputFile}", sections="require")
componentDir = input["Setup"]["direction"][0]
spatialDir = input["Setup"]["direction"][1]

Expand Down
2 changes: 1 addition & 1 deletion test/MHD/MTI/python/testidefix.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

n = 1 # fondamental mode

conf = inifix.load("../idefix.ini")
conf = inifix.load("../idefix.ini", sections="require")
Pr = conf["Setup"]["pr"]
ksi = conf["Setup"]["ksi"]

Expand Down
2 changes: 1 addition & 1 deletion test/MHD/clessTDiffusion/python/testidefix.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from pytools.vtk_io import readVTK

conf = inifix.load("../idefix.ini")
conf = inifix.load("../idefix.ini", sections="require")
gamma = conf["Hydro"]["gamma"]
kappa = conf["Hydro"]["bragTDiffusion"][-1]

Expand Down
2 changes: 1 addition & 1 deletion test/MHD/sphBragTDiffusion/python/testidefix.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from pytools.vtk_io import readVTK

conf = inifix.load("../idefix.ini")
conf = inifix.load("../idefix.ini", sections="require")
amplitude = conf["Setup"]["amplitude"]
gamma = conf["Hydro"]["gamma"]
kappa = conf["Hydro"]["bragTDiffusion"][-1]
Expand Down
2 changes: 1 addition & 1 deletion test/MHD/sphBragViscosity/python/testidefix.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from pytools.vtk_io import readVTK

conf = inifix.load("../idefix.ini")
conf = inifix.load("../idefix.ini", sections="require")
amplitude = conf["Setup"]["amplitude"]
time_step = conf["Output"]["vtk"]

Expand Down
13 changes: 6 additions & 7 deletions test/python_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# note: version requirements are indicative and tests # should be able to run with
# note: version requirements are indicative and tests should be able to run with
# older versions of our dependencies, though it is not guaranteed.

# minimally require last versions available for Python 2.7
numpy>=1.16.6
matplotlib>=2.2.5
scipy>=1.2.3
# minimally require earliest versions available for Python 3.10
numpy>=1.21.1
matplotlib>=3.5.0
scipy>=1.7.2
inifix>=5.1.0

# note that no version of inifix supports Python older than 3.6
inifix>=0.11.2
pybind11 >= 3.0.4
# To run the test suite, we can use pytest, mostly any version
# 6.0 is the one available on system available on debian-11
Expand Down
Loading