From 4495f0c18d3a8fbf6ba67ab2737f6b86fb2e26cf Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Wed, 11 Oct 2023 00:53:14 +0200 Subject: [PATCH] Improve code consistency --- ohmpi/hardware_components/mb_2023_0_X.py | 2 +- ohmpi/hardware_components/mb_2024_0_2.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ohmpi/hardware_components/mb_2023_0_X.py b/ohmpi/hardware_components/mb_2023_0_X.py index 6e44cdc9..7f4b9425 100644 --- a/ohmpi/hardware_components/mb_2023_0_X.py +++ b/ohmpi/hardware_components/mb_2023_0_X.py @@ -72,7 +72,7 @@ class Tx(TxAbstract): subclass_init = False else: subclass_init = True - print(f'mb_2023 kwargs: {kwargs}') + print(f'mb_2023 kwargs: {kwargs}, subclass_init : {subclass_init}') super().__init__(**kwargs) if not subclass_init: self.exec_logger.event(f'{self.model}\ttx_init\tbegin\t{datetime.datetime.utcnow()}') diff --git a/ohmpi/hardware_components/mb_2024_0_2.py b/ohmpi/hardware_components/mb_2024_0_2.py index 9cb0ce7d..fb50c7fb 100644 --- a/ohmpi/hardware_components/mb_2024_0_2.py +++ b/ohmpi/hardware_components/mb_2024_0_2.py @@ -72,7 +72,7 @@ class Tx(Tx_mb_2023): subclass_init = False else: subclass_init = True - print(f'mb_2024 kwargs: {kwargs}') + print(f'mb_2024 kwargs: {kwargs}, subclass_init : {subclass_init}') super().__init__(**kwargs) if not subclass_init: self.exec_logger.event(f'{self.model}\ttx_init\tbegin\t{datetime.datetime.utcnow()}') -- GitLab