Skip to content

Commit 6803f7a

Browse files
authored
Merge pull request #495 from bioimage-io/bump_version
bump to 0.4.9
2 parents bce19b1 + 1454b10 commit 6803f7a

File tree

6 files changed

+18
-9
lines changed

6 files changed

+18
-9
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,10 @@ As a dependency it is included in [bioimageio.core](https://github.com/bioimage-
147147
| BIOIMAGEIO_CACHE_WARNINGS_LIMIT | "3" | Maximum number of warnings generated for simple cache hits. |
148148
149149
## Changelog
150-
#### bioimageio.spec tbd
151-
- make pre-/postprocessing kwargs `mode` and `axes` always optional for model RDF 0.3 and 0.4
150+
#### bioimageio.spec 0.4.9
151+
- small bugixes
152+
- better type hints
153+
- improved tests
152154
153155
#### bioimageio.spec 0.4.8post1
154156
- add `axes` and `eps` to `scale_mean_var`
@@ -237,6 +239,10 @@ As a dependency it is included in [bioimageio.core](https://github.com/bioimage-
237239
238240
239241
### RDF Format Versions
242+
#### bioimageio.spec 0.4.9
243+
- Non-breaking changes
244+
- make pre-/postprocessing kwargs `mode` and `axes` always optional for model RDF 0.3 and 0.4
245+
240246
#### model RDF 0.4.8
241247
- Non-breaking changes
242248
- `cite` field is now optional

bioimageio/spec/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "0.4.8post1"
2+
"version": "0.4.9"
33
}

bioimageio/spec/model/v0_4/converters.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ def maybe_convert(data: Dict[str, Any]) -> Dict[str, Any]:
9999
if data["format_version"] == "0.4.7":
100100
data["format_version"] = "0.4.8"
101101

102+
if data["format_version"] == "0.4.8":
103+
data["format_version"] = "0.4.9"
104+
102105
# remove 'future' from config if no other than the used future entries exist
103106
config = data.get("config", {})
104107
if config.get("future") == {}:

bioimageio/spec/model/v0_4/raw_nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
PreprocessingName = PreprocessingName
5151

5252
FormatVersion = Literal[
53-
"0.4.0", "0.4.1", "0.4.2", "0.4.3", "0.4.4", "0.4.5", "0.4.6", "0.4.7", "0.4.8"
53+
"0.4.0", "0.4.1", "0.4.2", "0.4.3", "0.4.4", "0.4.5", "0.4.6", "0.4.7", "0.4.8", "0.4.9"
5454
] # newest format needs to be last (used in __init__.py)
5555
WeightsFormat = Literal[
5656
"pytorch_state_dict", "torchscript", "keras_hdf5", "tensorflow_js", "tensorflow_saved_model_bundle", "onnx"

example_specs/models/unet2d_nuclei_broad/rdf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# TODO physical scale of the data
2-
format_version: 0.4.8
2+
format_version: 0.4.9
33

44
name: UNet 2D Nuclei Broad
55
description: A 2d U-Net trained on the nuclei broad dataset.

tests/conftest.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def unet2d_nuclei_broad_base_path():
99

1010

1111
def get_unet2d_nuclei_broad(unet2d_nuclei_broad_base_path, request) -> dict:
12-
if request.param == "v0_4_7":
12+
if request.param == "v0_4_9":
1313
v = ""
1414
else:
1515
v = f"_{request.param}"
@@ -18,7 +18,7 @@ def get_unet2d_nuclei_broad(unet2d_nuclei_broad_base_path, request) -> dict:
1818
return unet2d_nuclei_broad_base_path / f_name
1919

2020

21-
@pytest.fixture(params=["v0_3_0", "v0_3_1", "v0_3_2", "v0_3_3", "v0_3_6", "v0_4_0", "v0_4_7"])
21+
@pytest.fixture(params=["v0_3_0", "v0_3_1", "v0_3_2", "v0_3_3", "v0_3_6", "v0_4_0", "v0_4_9"])
2222
def unet2d_nuclei_broad_any(unet2d_nuclei_broad_base_path, request):
2323
yield get_unet2d_nuclei_broad(unet2d_nuclei_broad_base_path, request)
2424

@@ -28,12 +28,12 @@ def unet2d_nuclei_broad_before_latest(unet2d_nuclei_broad_base_path, request):
2828
yield get_unet2d_nuclei_broad(unet2d_nuclei_broad_base_path, request)
2929

3030

31-
@pytest.fixture(params=["v0_4_7"])
31+
@pytest.fixture(params=["v0_4_9"])
3232
def unet2d_nuclei_broad_latest(unet2d_nuclei_broad_base_path, request):
3333
yield get_unet2d_nuclei_broad(unet2d_nuclei_broad_base_path, request)
3434

3535

36-
@pytest.fixture(params=["v0_3_6", "v0_4_7"])
36+
@pytest.fixture(params=["v0_3_6", "v0_4_9"])
3737
def unet2d_nuclei_broad_any_minor(unet2d_nuclei_broad_base_path, request):
3838
yield get_unet2d_nuclei_broad(unet2d_nuclei_broad_base_path, request)
3939

0 commit comments

Comments
 (0)