From 10a13a60d402a1f377ee54c2d51ea963601a25cb Mon Sep 17 00:00:00 2001 From: Furkan Bilgin Date: Thu, 26 Dec 2024 15:35:25 +0300 Subject: [PATCH] fix: remove 'caen-toolbox' tag from message output in DAQJobCAENToolbox --- src/enrgdaq/daq/jobs/caen/toolbox.py | 1 - src/tests/test_toolbox.py | 1 - 2 files changed, 2 deletions(-) diff --git a/src/enrgdaq/daq/jobs/caen/toolbox.py b/src/enrgdaq/daq/jobs/caen/toolbox.py index c3dfb62..6629fcb 100644 --- a/src/enrgdaq/daq/jobs/caen/toolbox.py +++ b/src/enrgdaq/daq/jobs/caen/toolbox.py @@ -90,7 +90,6 @@ def start(self): self._put_message_out( DAQJobMessageStoreTabular( store_config=self.config.store_config, - tag="caen-toolbox", keys=["timestamp", *[x for x in registers]], data=[ [ diff --git a/src/tests/test_toolbox.py b/src/tests/test_toolbox.py index fd19b14..4948215 100644 --- a/src/tests/test_toolbox.py +++ b/src/tests/test_toolbox.py @@ -91,7 +91,6 @@ def test_start( self.daq_job.start() message = self.daq_job._put_message_out.call_args[0][0] self.assertEqual(message.store_config, self.config.store_config) - self.assertEqual(message.tag, "caen-toolbox") self.assertEqual(message.keys, ["timestamp", "reg1", "reg2"]) self.assertEqual(message.data, [[1234567890, 1, 2]])