Open
Description
This is the error I get when trying to run xqrs detection algorithm from Google Colab as well locally.
I have used demo.ipynb from the repo itself.
/usr/local/lib/python3.6/dist-packages/wfdb/processing/evaluate.py in _calc_stats(self)
118 # No tn attribute
119
--> 120 self.sensitivity = float(self.tp) / float(self.tp + self.fn)
121 self.positive_predictivity = float(self.tp) / self.n_test
122
ZeroDivisionError: float division by zero
The error seems very weird in the sense that even when I comment the particular line, the error still shows in the same line.