Skip to content

Commit

Permalink
Update coolpup.py
Browse files Browse the repository at this point in the history
zoom_array snakecasing
  • Loading branch information
Phlya authored Mar 23, 2019
1 parent 4867666 commit e6ab04f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions coolpup.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def _do_pileups(mids, data, binsize, pad, expected, mindist, maxdist, local,
if newmap.size==0:
newmap = np.zeros((rescale_size, rescale_size))
else:
newmap = numutils.zoomArray(newmap, (rescale_size,
newmap = numutils.zoom_array(newmap, (rescale_size,
rescale_size))
if rot_flip:
newmap = np.rot90(np.flipud(newmap), -1)
Expand All @@ -197,9 +197,9 @@ def _do_pileups(mids, data, binsize, pad, expected, mindist, maxdist, local,
new_cov_start = np.zeros(rescale_size)
if len(new_cov_end)==0:
new_cov_end = np.zeros(rescale_size)
new_cov_start = numutils.zoomArray(new_cov_start,
new_cov_start = numutils.zoom_array(new_cov_start,
(rescale_size,))
new_cov_end = numutils.zoomArray(new_cov_end,
new_cov_end = numutils.zoom_array(new_cov_end,
(rescale_size,))
else:
l = len(new_cov_start)
Expand Down

0 comments on commit e6ab04f

Please sign in to comment.