From 091937cd60b44ec5bd7afe44800bdbab510e8f6a Mon Sep 17 00:00:00 2001 From: David Hammer <dhammer@mailbox.org> Date: Thu, 20 Jan 2022 11:57:53 +0100 Subject: [PATCH] Use attribute for image data path more consistently --- src/calng/DsscCorrection.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/calng/DsscCorrection.py b/src/calng/DsscCorrection.py index 4b48e5ae..3fd0504a 100644 --- a/src/calng/DsscCorrection.py +++ b/src/calng/DsscCorrection.py @@ -265,10 +265,10 @@ class DsscCorrection(BaseCorrection): preview_slice_index, ) - data_hash.set("image.data", buffer_handle) - data_hash.set("image.cellId", cell_table[:, np.newaxis]) + data_hash.set(self._image_data_path, buffer_handle) + data_hash.set(self._cell_table_path, cell_table[:, np.newaxis]) data_hash.set("image.pulseId", pulse_table[:, np.newaxis]) - data_hash.set("calngShmemPaths", ["image.data"]) + data_hash.set("calngShmemPaths", [self._image_data_path]) self._write_output(data_hash, metadata) if do_generate_preview: self._write_combiner_previews( -- GitLab