Skip to content

Commit

Permalink
fix for inaccurate count of inter
Browse files Browse the repository at this point in the history
  • Loading branch information
cdoorenweerd committed Oct 23, 2020
1 parent f61e6f1 commit fc05a3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pdistancer.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ def average(list):
elif speciesname == species1 != species2:
interperspecies.append(pdist)
neighbors.update({species2: [pdist]})
elif speciesname == species2 != species1:
interperspecies.append(pdist)
neighbors.update({species2: [pdist]})
d_max = 'N/A'
dmin_nn = 'N/A'
nearestneighbor = 'N/A'
Expand Down

0 comments on commit fc05a3d

Please sign in to comment.