Skip to content

Commit 60caba8

Browse files
authored
Pruned bin weights
1 parent b62293f commit 60caba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

polykit/analysis/contact_maps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ def coolify(contact_matrix,
624624
assert binsize*nbins == sum(chrom_sizes), "Chromosome sizes do not match map dimensions"
625625

626626
bins = cooler.binnify(chrom_sizes, binsize)
627-
bins['weight'] = np.ones(nbins) * np.sqrt(2/nbins)
627+
bins['weight'] = np.ones(nbins)
628628

629629
pixels = cooler.create.ArrayLoader(bins, contact_matrix, chunksize=chunksize)
630630

0 commit comments

Comments
 (0)