Skip to content

Commit

Permalink
bug-fix-zarr chunking
Browse files Browse the repository at this point in the history
  • Loading branch information
meyerkm committed Dec 1, 2023
1 parent 48e9b17 commit 96ccf8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deeprvat/deeprvat/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def __init__(
pheno_data["input_tensor_zarr"],
self.zarr_root,
name=pheno,
chunks=(self.chunksize, None, None, None, None),
chunks=(self.chunksize, None, None, None),
compressor=Blosc(clevel=1),
)
pheno_data["input_tensor_zarr"] = self.zarr_root[pheno]
Expand All @@ -321,7 +321,7 @@ def __init__(
zarr.copy(
pheno_data["input_tensor_zarr"],
zarr.DirectoryStore(tensor_path),
chunks=(self.chunksize, None, None, None, None),
chunks=(self.chunksize, None, None, None),
compressor=Blosc(clevel=1),
)
pheno_data["input_tensor_zarr"] = zarr.open(tensor_path)
Expand Down

0 comments on commit 96ccf8f

Please sign in to comment.