Commit 5cc41b67 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Improves event names

Showing with 1 addition and 1 deletion
+1 -1
......@@ -80,9 +80,9 @@ def _gain_auto(channel):
class Tx(TxAbstract):
def __init__(self, **kwargs):
self.exec_logger.event(f'{self.board_name}\ttx_init\tbegin\t{datetime.datetime.utcnow()}')
kwargs.update({'board_name': os.path.basename(__file__).rstrip('.py')})
super().__init__(**kwargs)
self.exec_logger.event(f'{self.board_name}\ttx_init\tbegin\t{datetime.datetime.utcnow()}')
self._voltage = kwargs.pop('voltage', TX_CONFIG['default_voltage'])
self.voltage_adjustable = False
self.current_adjustable = False
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment