Open JS3xton opened 3 years ago
Fixed in FlowCal v1.3.0
.
FlowCal.plot.violin(data=[])
still fails in v1.3.0
with the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/jsexton/Downloads/FlowCal-master/FlowCal/plot.py", line 1810, in violin
t = _LogicleTransform(data=data, channel=channel)
File "/home/jsexton/Downloads/FlowCal-master/FlowCal/plot.py", line 315, in __init__
raise ValueError("T should be positive")
ValueError: T should be positive
The following code fails using commit bc98686677dde12dd6ba6987b8d753fdb7692c5c (a few commits upstream of when
plot-violin
was merged intodevelop
):The error occurs when
next()
is called on an empty iterator when trying to understanddata
: