From 0a818dc29488e07a29024538576a6ef68381751c Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Sat, 11 Mar 2023 19:44:39 -0500 Subject: [PATCH] revert something --- strkit/VERSION | 2 +- strkit/call/caller.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/strkit/VERSION b/strkit/VERSION index 73c4d0a..7251f9b 100644 --- a/strkit/VERSION +++ b/strkit/VERSION @@ -1 +1 @@ -0.7.2a2 +0.7.2a3 diff --git a/strkit/call/caller.py b/strkit/call/caller.py index f8c938f..d56fcef 100644 --- a/strkit/call/caller.py +++ b/strkit/call/caller.py @@ -894,7 +894,7 @@ def _nested_ndarray_serialize(x: Iterable) -> list[list[Union[int, float, np.int "modal_n": call_modal_n, "n_reads": call_peak_n_reads, **({"kmers": [dict(c) for c in peak_kmers]} if count_kmers in ("peak", "both") else {}), - } if call and call_peaks and call_weights and call_stdevs and call_modal_n else None, + } if call else None, # make typecheck happy above by checking all of these are not None (even though if call is false-y, all of them # should be None and otherwise none of them should). "read_peaks_called": read_peaks_called,