Skip to content
Snippets Groups Projects
Commit b5d98f70 authored by Blaise Li's avatar Blaise Li
Browse files

Specify default "mode" argument for numpy.pad.

It has no default value for older numpy version.
parent 7c79f77a
No related branches found
No related tags found
No related merge requests found
......@@ -289,6 +289,7 @@ def paste_bigwig_region(
to_bw.values(chrom, 0, chrom_len),
# pad zero on the left, and what is needed to complete the bin on the right
(0, 10 * nb_bins - chrom_len),
mode="constant",
constant_values=np.nan)
if chrom == to_chrom:
# Replace the values in the desired region
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment