dyconnmap icon indicating copy to clipboard operation
dyconnmap copied to clipboard

Dwell Time does not handle case of when all dwell times are 1 for a symbol

Open Saqibm128 opened this issue 1 year ago • 2 comments

image

r_diff evaluates as 1 for all elements, which yields a zero length array.

we should handle this as an edge case

Saqibm128 avatar Sep 22 '22 17:09 Saqibm128

good catch 👍🏻

I think something like that could work:

if len(symbols) == 1:
    raise Exception("explanation here")

what do you think?

feel free open a PR, otherwise, I will tackle it ;)

makism avatar Sep 24 '22 05:09 makism

Check and see if this is what you wanted

Saqibm128 avatar Sep 29 '22 21:09 Saqibm128