diff --git a/flow360/component/flow360_params/updater.py b/flow360/component/flow360_params/updater.py index 03f987a7..29b1dd71 100644 --- a/flow360/component/flow360_params/updater.py +++ b/flow360/component/flow360_params/updater.py @@ -9,7 +9,12 @@ def _no_update(params_as_dict): return params_as_dict -UPDATE_MAP = [("0.2.0b16", "0.2.0b17", _no_update), ("0.2.0b17", "0.2.0b18", _no_update)] +UPDATE_MAP = [ + ("0.2.0b16", "0.2.0b17", _no_update), + ("0.2.0b17", "0.2.0b18", _no_update), + ("0.2.0b18", "23.3.1", _no_update), + ("23.3.1", "24.2.0b1", _no_update), +] def _find_update_path(version_from, version_to): diff --git a/flow360/examples/om6wing/case.yaml b/flow360/examples/om6wing/case.yaml index 861cee58..54116585 100644 --- a/flow360/examples/om6wing/case.yaml +++ b/flow360/examples/om6wing/case.yaml @@ -44,4 +44,4 @@ timeStepping: timeStepSize: inf unitSystem: name: SI -version: 0.2.0b18 +version: 24.2.0b1 diff --git a/flow360/version.py b/flow360/version.py index 31664e7a..525ef6be 100644 --- a/flow360/version.py +++ b/flow360/version.py @@ -2,4 +2,4 @@ version """ -__version__ = "0.2.0b18" +__version__ = "24.2.0b1" diff --git a/tests/data/cases/params_units.json b/tests/data/cases/params_units.json index 1fa3ccae..a13029d4 100644 --- a/tests/data/cases/params_units.json +++ b/tests/data/cases/params_units.json @@ -2,7 +2,7 @@ "unitSystem": { "name": "SI" }, - "version": "0.2.0b18", + "version": "24.2.0b1", "geometry": { "refArea": { "value": 1.0, diff --git a/tests/ref/case_params/params.json b/tests/ref/case_params/params.json index 16e896fb..fa1f9cfd 100644 --- a/tests/ref/case_params/params.json +++ b/tests/ref/case_params/params.json @@ -2,7 +2,7 @@ "unitSystem": { "name": "SI" }, - "version": "0.2.0b18", + "version": "24.2.0b1", "geometry": { "refArea": { "value": 1.0, @@ -149,5 +149,5 @@ } } }, - "hash": "1bcb9beab809128a2a13215b9e6fa9adcfa38b8e14a4908d2f3654d4e476243b" + "hash": "bc6bd2b91f434b5a6375e40715fd5337a705d21cd979ee3d781e6d6cb63da009" } diff --git a/tests/ref/case_params/params.yaml b/tests/ref/case_params/params.yaml index 92097292..f442b3ed 100644 --- a/tests/ref/case_params/params.yaml +++ b/tests/ref/case_params/params.yaml @@ -21,7 +21,7 @@ geometry: refArea: units: 2*m**2 value: 1.0 -hash: 1bcb9beab809128a2a13215b9e6fa9adcfa38b8e14a4908d2f3654d4e476243b +hash: bc6bd2b91f434b5a6375e40715fd5337a705d21cd979ee3d781e6d6cb63da009 navierStokesSolver: CFLMultiplier: 1.0 absoluteTolerance: 1.0e-10 @@ -108,7 +108,7 @@ timeStepping: timeStepSize: inf unitSystem: name: SI -version: 0.2.0b18 +version: 24.2.0b1 volumeOutput: animationFrequency: -1 animationFrequencyOffset: 0 diff --git a/tests/ref/case_params/params_units.json b/tests/ref/case_params/params_units.json index 76cbc9a6..d4ee7155 100644 --- a/tests/ref/case_params/params_units.json +++ b/tests/ref/case_params/params_units.json @@ -2,7 +2,7 @@ "unitSystem": { "name": "SI" }, - "version": "0.2.0b18", + "version": "24.2.0b1", "geometry": { "refArea": { "value": 1.0, @@ -172,5 +172,5 @@ } } }, - "hash": "ec9370fec15292d144313b6b4fe27f4ab3e15d426efc1c9d607aaf9ddf6f194e" + "hash": "2183ef8a582489f627ffa6f1b2f46a3677f42ecb3c2f991df406cee2aea38c6e" } \ No newline at end of file diff --git a/tests/ref/case_params/params_units_converted.json b/tests/ref/case_params/params_units_converted.json index a0215a4e..a5e16128 100644 --- a/tests/ref/case_params/params_units_converted.json +++ b/tests/ref/case_params/params_units_converted.json @@ -2,7 +2,7 @@ "unitSystem": { "name": "SI" }, - "version": "0.2.0b18", + "version": "24.2.0b1", "geometry": { "refArea": { "value": 1.0, @@ -148,5 +148,5 @@ } } }, - "hash": "b9b81f80723ba1a728afcffaa69255cd6dfa192ae94daf15cffbdc1b75382298" + "hash": "164121f01b65059cf1f238962a94634df168573d5416c7cedf4a187c59dcc403" } \ No newline at end of file diff --git a/tests/test_flow360.py b/tests/test_flow360.py index 226a1deb..1635d85a 100644 --- a/tests/test_flow360.py +++ b/tests/test_flow360.py @@ -2,4 +2,4 @@ def test_version(): - assert __version__ == "0.2.0b18" + assert __version__ == "24.2.0b1"