Skip to content

Commit e8fdea3

Browse files
committed
add ci python-version: '3.11' label
1 parent e5222ce commit e8fdea3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030

3131
- name: Set up Python
3232
uses: actions/setup-python@v6
33+
with:
34+
python-version: '3.11'
3335

3436
- name: Install uv
3537
uses: astral-sh/setup-uv@v6

src/main/java/dev/zarr/zarrjava/v2/codec/core/BloscCodec.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,10 @@ public BloscCodec(
4242
@JsonDeserialize(using = CustomShuffleDeserializer.class) Blosc.Shuffle shuffle,
4343
@JsonProperty(value = "clevel", defaultValue = "5") int clevel,
4444
@JsonProperty(value = "typesize", defaultValue = "0") int typesize,
45-
@JsonProperty(value = "blocksize", defaultValue = "0")
46-
int blocksize
45+
@JsonProperty(value = "blocksize", defaultValue = "0") int blocksize
4746
) throws ZarrException {
4847
if (typesize < 1 && shuffle != Blosc.Shuffle.NO_SHUFFLE) {
49-
typesize = 4; // in v2 typesize is not required. todo: deflault to correct value based on dtype
48+
typesize = 4; //todo: in v2 typesize is not a required parameter. default to correct value based on dtype
5049
}
5150
if (clevel < 0 || clevel > 9) {
5251
throw new ZarrException("'clevel' needs to be between 0 and 9.");

0 commit comments

Comments
 (0)