Skip to content

Commit

Permalink
revert something
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Mar 12, 2023
1 parent aa71478 commit 0a818dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion strkit/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.2a2
0.7.2a3
2 changes: 1 addition & 1 deletion strkit/call/caller.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0a818dc

Please sign in to comment.