From 26637e25413b0eb5e44ff92c3dd7e5e74f47dfe7 Mon Sep 17 00:00:00 2001 From: jaycedowell Date: Fri, 21 Jul 2023 10:13:43 -0600 Subject: [PATCH] `.data` is 2D so try `.data[0,0]` for #214. --- test/test_block.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_block.py b/test/test_block.py index d7ab481b4..3382bea79 100644 --- a/test/test_block.py +++ b/test/test_block.py @@ -476,11 +476,11 @@ def monitor_block_sequences(array): if self.i > 1 and self.i < 11: with self.monitor_block.rings['out_1'].open_latest_sequence(guarantee=False) as curr_seq: span_gen = curr_seq.read(1) - self.all_sequence_starts.append(int(next(span_gen).data[0])) + self.all_sequence_starts.append(int(next(span_gen).data[0,0])) if self.i > 12: with self.monitor_block.rings['out_1'].open_latest_sequence(guarantee=False) as curr_seq: span_gen = curr_seq.read(1) - self.all_sequence_starts.append(int(next(span_gen).data[0])) + self.all_sequence_starts.append(int(next(span_gen).data[0,0])) self.i += 1 return array