Skip to content

Commit

Permalink
bumped version to 24.2b1
Browse files Browse the repository at this point in the history
  • Loading branch information
maciej-flexcompute committed Mar 5, 2024
1 parent 44bd685 commit 9e980b7
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 13 deletions.
7 changes: 6 additions & 1 deletion flow360/component/flow360_params/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion flow360/examples/om6wing/case.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ timeStepping:
timeStepSize: inf
unitSystem:
name: SI
version: 0.2.0b18
version: 24.2.0b1
2 changes: 1 addition & 1 deletion flow360/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
version
"""

__version__ = "0.2.0b18"
__version__ = "24.2.0b1"
2 changes: 1 addition & 1 deletion tests/data/cases/params_units.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"unitSystem": {
"name": "SI"
},
"version": "0.2.0b18",
"version": "24.2.0b1",
"geometry": {
"refArea": {
"value": 1.0,
Expand Down
4 changes: 2 additions & 2 deletions tests/ref/case_params/params.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"unitSystem": {
"name": "SI"
},
"version": "0.2.0b18",
"version": "24.2.0b1",
"geometry": {
"refArea": {
"value": 1.0,
Expand Down Expand Up @@ -149,5 +149,5 @@
}
}
},
"hash": "1bcb9beab809128a2a13215b9e6fa9adcfa38b8e14a4908d2f3654d4e476243b"
"hash": "bc6bd2b91f434b5a6375e40715fd5337a705d21cd979ee3d781e6d6cb63da009"
}
4 changes: 2 additions & 2 deletions tests/ref/case_params/params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -108,7 +108,7 @@ timeStepping:
timeStepSize: inf
unitSystem:
name: SI
version: 0.2.0b18
version: 24.2.0b1
volumeOutput:
animationFrequency: -1
animationFrequencyOffset: 0
Expand Down
4 changes: 2 additions & 2 deletions tests/ref/case_params/params_units.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"unitSystem": {
"name": "SI"
},
"version": "0.2.0b18",
"version": "24.2.0b1",
"geometry": {
"refArea": {
"value": 1.0,
Expand Down Expand Up @@ -172,5 +172,5 @@
}
}
},
"hash": "ec9370fec15292d144313b6b4fe27f4ab3e15d426efc1c9d607aaf9ddf6f194e"
"hash": "2183ef8a582489f627ffa6f1b2f46a3677f42ecb3c2f991df406cee2aea38c6e"
}
4 changes: 2 additions & 2 deletions tests/ref/case_params/params_units_converted.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"unitSystem": {
"name": "SI"
},
"version": "0.2.0b18",
"version": "24.2.0b1",
"geometry": {
"refArea": {
"value": 1.0,
Expand Down Expand Up @@ -148,5 +148,5 @@
}
}
},
"hash": "b9b81f80723ba1a728afcffaa69255cd6dfa192ae94daf15cffbdc1b75382298"
"hash": "164121f01b65059cf1f238962a94634df168573d5416c7cedf4a187c59dcc403"
}
2 changes: 1 addition & 1 deletion tests/test_flow360.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@


def test_version():
assert __version__ == "0.2.0b18"
assert __version__ == "24.2.0b1"

0 comments on commit 9e980b7

Please sign in to comment.