From 81042c9788ccda08ed5191ec0ec602a5fcdc43be Mon Sep 17 00:00:00 2001 From: Jerome Kieffer Date: Mon, 2 Sep 2024 14:51:35 +0200 Subject: [PATCH] typo (bis) --- src/fabio/app/densify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fabio/app/densify.py b/src/fabio/app/densify.py index 373012fd..57a914c7 100644 --- a/src/fabio/app/densify.py +++ b/src/fabio/app/densify.py @@ -263,7 +263,7 @@ def decompress_one(self, filename): # link peaks to destination files if sparse.peaks: with h5py.File(output, "a") as h: - h[posixpath.join(h['default'], posixpath.split(sparse.peaks)-1)] = h5py.ExternalLink(filename, sparse.peaks) + h[posixpath.join(h.attrs['default'], posixpath.split(sparse.peaks)-1)] = h5py.ExternalLink(filename, sparse.peaks) if self.args.format.startswith("eiger"): save_master(output, filename)