Skip to content
This repository was archived by the owner on Oct 18, 2021. It is now read-only.

Commit a294a60

Browse files
committed
Merge branch 'dev' of github.com:ggirelli/pygpseq into dev
2 parents 44a32f1 + 0b5c4ee commit a294a60

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pygpseq/tools/distance.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,9 @@ def calc_nuclear_distances(dist_type, mask, aspect):
147147
laminD = simulate_diffusion(mask, 1, aspect)
148148
centrD = np.absolute(laminD - np.nanmax(laminD))
149149
else:
150-
center_as_percentile = gp.const.LD_CENTER_PERC
151-
center_as_percentile = dist_type == center_as_percentile
152150
laminD = calc_lamina_distance(mask, aspect)
153151
centrD = calc_center_distance(laminD, aspect,
154-
center_as_percentile)
152+
dist_type == gp.const.LD_CENTER_PERC)
155153
return (laminD, centrD)
156154

157155
def normalize_nuclear_distance(dist_type, laminD, centrD):

0 commit comments

Comments
 (0)