Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Phlya authored and nvictus committed Jul 4, 2023
1 parent 046419f commit eb00fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cooler/cli/zoomify.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def zoomify(
curres = clr.binsize
else:
bins = clr.bins()[["start", "end"]][:]
mean_fragsize = (bins["end"] - bins["start"]).diff(axis=1).mean()
mean_fragsize = (bins["end"] - bins["start"]).mean()
maxres = int(ceil(genome_length / mean_fragsize / HIGLASS_TILE_DIM))
curres = 1

Expand Down

0 comments on commit eb00fa8

Please sign in to comment.