From 32c31e94c3efff796a7595ff2c960f86866d6261 Mon Sep 17 00:00:00 2001 From: Ashwola Date: Fri, 11 Jul 2025 10:13:03 +0200 Subject: [PATCH] Using first value in list --- src/pymodaq_data/h5modules/saving.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pymodaq_data/h5modules/saving.py b/src/pymodaq_data/h5modules/saving.py index 6ff57380..0b5a742c 100644 --- a/src/pymodaq_data/h5modules/saving.py +++ b/src/pymodaq_data/h5modules/saving.py @@ -227,7 +227,7 @@ def add_array(self, where: Union[GROUP, str], name: str, data_type: DataType, ar """ if array_type is None: if array_to_save is None: - array_type = config('data_saving', 'data_type', 'dynamic') + array_type = config('data_saving', 'data_type', 'dynamics')[0] else: array_type = array_to_save.dtype