From c25b0a55900b3a26828daba1042fe50bcccb62ac Mon Sep 17 00:00:00 2001 From: Tamas Gal <tgal@km3net.de> Date: Mon, 10 Feb 2020 17:17:18 +0100 Subject: [PATCH] Exclude jitted functions from coverage --- km3io/daq.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/km3io/daq.py b/km3io/daq.py index e1f1e55..f51d440 100644 --- a/km3io/daq.py +++ b/km3io/daq.py @@ -22,7 +22,7 @@ CHANNEL_BITS_TEMPLATE = np.zeros(31, dtype=bool) nb.int32(nb.int32), nb.int32(nb.int64) ]) -def get_rate(value): +def get_rate(value): #pragma: no cover """Return the rate in Hz from the short int value""" if value == 0: return 0 @@ -34,7 +34,7 @@ def get_rate(value): "(), (n) -> (n)", target="parallel", nopython=True) -def unpack_bits(value, bits_template, out): +def unpack_bits(value, bits_template, out): #pragma: no cover """Return a boolean array for a value's bit representation. This function also accepts arrays as input, the output shape will be -- GitLab