From 951b6321839db1a1144b7a8c804a6455d9976424 Mon Sep 17 00:00:00 2001 From: Max <14039563+maxbriel@users.noreply.github.com> Date: Tue, 19 May 2026 12:49:08 +0200 Subject: [PATCH 1/2] Set compression arguments in grid initialization Add compression arguments setup in the grid initialization. Otherwise they're never loaded --- posydon/grids/psygrid.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/posydon/grids/psygrid.py b/posydon/grids/psygrid.py index 489f7400f..4fa590f6d 100644 --- a/posydon/grids/psygrid.py +++ b/posydon/grids/psygrid.py @@ -1543,6 +1543,9 @@ def load(self, filepath=None, lazy=True): else: raise KeyError("Some runs are missing from the HDF5 grid.") + # set the compression arguments + self._make_compression_args() + self._say("\tDone.") def close(self): From 47b6ead49bd4ac61fb1d78c1e4ec878d9e2a93b7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 19 May 2026 10:49:26 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- posydon/grids/psygrid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posydon/grids/psygrid.py b/posydon/grids/psygrid.py index 4fa590f6d..5c725004c 100644 --- a/posydon/grids/psygrid.py +++ b/posydon/grids/psygrid.py @@ -1545,7 +1545,7 @@ def load(self, filepath=None, lazy=True): # set the compression arguments self._make_compression_args() - + self._say("\tDone.") def close(self):