From eb68479dd7fcbfb96b16b266772852903d657918 Mon Sep 17 00:00:00 2001 From: Peter Kraus Date: Thu, 28 Mar 2024 22:05:29 +0100 Subject: [PATCH] Make the linter happy --- src/yadg/extractors/public/agilent/dx.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/yadg/extractors/public/agilent/dx.py b/src/yadg/extractors/public/agilent/dx.py index 278a46bb..e1f4f365 100644 --- a/src/yadg/extractors/public/agilent/dx.py +++ b/src/yadg/extractors/public/agilent/dx.py @@ -55,6 +55,7 @@ def extract( *, fn: str, + timezone: str, **kwargs: dict, ) -> DataTree: zf = zipfile.ZipFile(fn) @@ -64,6 +65,6 @@ def extract( for ffn in os.listdir(tempdir): if ffn.endswith("CH"): path = os.path.join(tempdir, ffn) - fdt = extract_ch(fn=path, **kwargs).to_dict() + fdt = extract_ch(fn=path, timezone=timezone, **kwargs).to_dict() dt = merge_dicttrees(dt, fdt, "identical") return DataTree.from_dict(dt)