Add info log for shm processing in `ldshm` CLI cmd
Log shm file name and detected period before null segment processing to aid debugging. (this patch was generated in some part by [`claude-code`][claude-code-gh]) [claude-code-gh]: https://github.com/anthropics/claude-codegap_annotator
parent
6f8a361e80
commit
28d0babc6d
|
|
@ -294,6 +294,11 @@ def ldshm(
|
||||||
f'Something is wrong with time period for {shm}:\n{times}'
|
f'Something is wrong with time period for {shm}:\n{times}'
|
||||||
)
|
)
|
||||||
period_s: float = float(max(d1, d2, med))
|
period_s: float = float(max(d1, d2, med))
|
||||||
|
log.info(
|
||||||
|
f'Processing shm buffer:\n'
|
||||||
|
f' file: {shmfile.name}\n'
|
||||||
|
f' period: {period_s}s\n'
|
||||||
|
)
|
||||||
|
|
||||||
null_segs: tuple = tsp.get_null_segs(
|
null_segs: tuple = tsp.get_null_segs(
|
||||||
frame=shm.array,
|
frame=shm.array,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue