Skip to content

Commit

Permalink
pep8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sk1p committed Aug 1, 2023
1 parent 8bba295 commit b59f3a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libertem_live/detectors/asi_tpx3/acquisition.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def handle_task(self, task: TaskProtocol, queue: WorkerQueue):
})
raise JobCancelledError("premature end of frame iterator")
break
assert len(chunk_stack) <= current_stack_size,\
assert len(chunk_stack) <= current_stack_size, \
f"{len(chunk_stack)} <= {current_stack_size}"
t1 = time.perf_counter()
recv_time += t1 - t0
Expand Down
2 changes: 1 addition & 1 deletion src/libertem_live/detectors/dectris/acquisition.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def handle_task(self, task: TaskProtocol, queue: WorkerQueue):
"type": "END_PARTITION",
})
raise JobCancelledError("premature end of frame iterator")
assert len(frame_stack) <= current_chunk_size,\
assert len(frame_stack) <= current_chunk_size, \
f"{len(frame_stack)} <= {current_chunk_size}"
t1 = time.perf_counter()
recv_time += t1 - t0
Expand Down

0 comments on commit b59f3a5

Please sign in to comment.