diff --git a/src/hvps/devices/caen/channel.py b/src/hvps/devices/caen/channel.py index d24a3d0..37ea5d4 100644 --- a/src/hvps/devices/caen/channel.py +++ b/src/hvps/devices/caen/channel.py @@ -287,7 +287,9 @@ def stat(self) -> dict: ), ) # TODO: check_command_output_and_convert returns an int so make string_number_to_bit_array take an int - check_command_output_and_convert(command.lower(), None, response, _MON_CHANNEL_COMMANDS) + check_command_output_and_convert( + command.lower(), None, response, _MON_CHANNEL_COMMANDS + ) bit_array = string_number_to_bit_array(response) return { diff --git a/src/hvps/devices/caen/module.py b/src/hvps/devices/caen/module.py index 7a64bb3..9c0cdf1 100644 --- a/src/hvps/devices/caen/module.py +++ b/src/hvps/devices/caen/module.py @@ -224,7 +224,9 @@ def board_alarm_status(self) -> dict: bd=self.bd, command=_get_mon_module_command(bd=self.bd, command=command), ) - check_command_output_and_convert("board_alarm_status", None, response, _MON_MODULE_COMMANDS) + check_command_output_and_convert( + "board_alarm_status", None, response, _MON_MODULE_COMMANDS + ) bit_array = string_number_to_bit_array(response) return {