Skip to content

Commit

Permalink
.data is 2D so try .data[0,0] for #214.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaycedowell authored Jul 21, 2023
1 parent 8cff5c2 commit 26637e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 26637e2

Please sign in to comment.