Skip to content

Commit 60e1f4c

Browse files
committed
⬆️install_deps for OMPython set to 4.0.0
1 parent fd590d5 commit 60e1f4c

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@
2626
"Topic :: Scientific/Engineering",
2727
"Programming Language :: Python :: 3.10",
2828
"Programming Language :: Python :: 3.11",
29+
"Programming Language :: Python :: 3.12",
2930
],
3031
python_requires=">=3.10",
3132
install_requires=[
3233
"pandas>=2.0.0, <3.0",
3334
"numpy>=1.22.4, <2.0",
34-
"OMPython>=3.5.2",
35+
"OMPython>=4.0.0",
3536
"corrai>=1.0.0",
3637
],
3738
packages=find_packages(exclude=["tests*"]),

tests/test_simulate.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ def test_set_param_dict_and_simulation_options(self, simul):
4646
for key in test_dict.keys():
4747
assert float(test_dict[key]) == float(simul.model.getParameters()[key])
4848

49+
props = simul.get_property_dict()
50+
51+
assert props["x.k"] == "2.0"
52+
assert props["y.k"] == "2.0"
53+
assert props["res.significantDigits"] == "2"
54+
assert props["res.use_numberPort"] == "true"
55+
4956
assert simul.get_property_dict() == {
5057
"x.k": "2.0",
5158
"x.y": None,

0 commit comments

Comments
 (0)