risk-network 0.0.8b10__py3-none-any.whl → 0.0.8b11__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- risk/__init__.py +1 -1
- risk/network/plot/labels.py +2 -1
- {risk_network-0.0.8b10.dist-info → risk_network-0.0.8b11.dist-info}/METADATA +1 -1
- {risk_network-0.0.8b10.dist-info → risk_network-0.0.8b11.dist-info}/RECORD +7 -7
- {risk_network-0.0.8b10.dist-info → risk_network-0.0.8b11.dist-info}/LICENSE +0 -0
- {risk_network-0.0.8b10.dist-info → risk_network-0.0.8b11.dist-info}/WHEEL +0 -0
- {risk_network-0.0.8b10.dist-info → risk_network-0.0.8b11.dist-info}/top_level.txt +0 -0
risk/__init__.py
CHANGED
risk/network/plot/labels.py
CHANGED
@@ -462,9 +462,10 @@ class Labels:
|
|
462
462
|
def calculate_distance(centroid1, centroid2):
|
463
463
|
return np.linalg.norm(centroid1 - centroid2)
|
464
464
|
|
465
|
+
# Domains to plot on network
|
466
|
+
selected_domains = []
|
465
467
|
# Find the farthest apart domains using centroids
|
466
468
|
if remaining_domains and remaining_labels:
|
467
|
-
selected_domains = []
|
468
469
|
first_domain = next(iter(remaining_domains)) # Pick the first domain to start
|
469
470
|
selected_domains.append(first_domain)
|
470
471
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
risk/__init__.py,sha256=
|
1
|
+
risk/__init__.py,sha256=ZJtZA9wcK29HLGsFPkNjrQgiIa3Le1AHM1yAgOa77WA,113
|
2
2
|
risk/constants.py,sha256=XInRaH78Slnw_sWgAsBFbUHkyA0h0jL0DKGuQNbOvjM,550
|
3
3
|
risk/risk.py,sha256=slJXca_a726_D7oXwe765HaKTv3ZrOvhttyrWdCGPkA,21231
|
4
4
|
risk/annotations/__init__.py,sha256=vUpVvMRE5if01Ic8QY6M2Ae3EFGJHdugEe9PdEkAW4Y,138
|
@@ -18,7 +18,7 @@ risk/network/io.py,sha256=u0PPcKjp6Xze--7eDOlvalYkjQ9S2sjiC-ac2476PUI,22942
|
|
18
18
|
risk/network/plot/__init__.py,sha256=MfmaXJgAZJgXZ2wrhK8pXwzETlcMaLChhWXKAozniAo,98
|
19
19
|
risk/network/plot/canvas.py,sha256=-Y2shCy4Udp-stB9tBXGZRTASQZiv8RVqVcQ5lBhVu0,10291
|
20
20
|
risk/network/plot/contour.py,sha256=YPG8Uz0VlJ4skLdGaTH_FmQN6A_ArK8XSTNo1LzkSws,14276
|
21
|
-
risk/network/plot/labels.py,sha256=
|
21
|
+
risk/network/plot/labels.py,sha256=MXUo5F5H1ynzEBkrh5XKE-COLuZ-4LhSxiUvkXSZKYQ,40810
|
22
22
|
risk/network/plot/network.py,sha256=83ZXjGGrgRprWvDldWfhRe6SFXTv_QoI20OWzyEmVJU,12593
|
23
23
|
risk/network/plot/plotter.py,sha256=rQV4Db6Ud86FJm11uaBvgSuzpmGsrZxnsRnUKjg6w84,5572
|
24
24
|
risk/network/plot/utils.py,sha256=jZgI8EysSjviQmdYAceZk2MwJXcdeFAkYp-odZNqV0k,6316
|
@@ -29,8 +29,8 @@ risk/stats/stats.py,sha256=kvShov-94W6ffgDUTb522vB9hDJQSyTsYif_UIaFfSM,7059
|
|
29
29
|
risk/stats/permutation/__init__.py,sha256=neJp7FENC-zg_CGOXqv-iIvz1r5XUKI9Ruxhmq7kDOI,105
|
30
30
|
risk/stats/permutation/permutation.py,sha256=D84Rcpt6iTQniK0PfQGcw9bLcHbMt9p-ARcurUnIXZQ,10095
|
31
31
|
risk/stats/permutation/test_functions.py,sha256=lftOude6hee0pyR80HlBD32522JkDoN5hrKQ9VEbuoY,2345
|
32
|
-
risk_network-0.0.
|
33
|
-
risk_network-0.0.
|
34
|
-
risk_network-0.0.
|
35
|
-
risk_network-0.0.
|
36
|
-
risk_network-0.0.
|
32
|
+
risk_network-0.0.8b11.dist-info/LICENSE,sha256=jOtLnuWt7d5Hsx6XXB2QxzrSe2sWWh3NgMfFRetluQM,35147
|
33
|
+
risk_network-0.0.8b11.dist-info/METADATA,sha256=nlUZJH0fpHPUq9lgGvlNJY0Ibf5QBLYoQ6WB6dlGqNc,47498
|
34
|
+
risk_network-0.0.8b11.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
35
|
+
risk_network-0.0.8b11.dist-info/top_level.txt,sha256=NX7C2PFKTvC1JhVKv14DFlFAIFnKc6Lpsu1ZfxvQwVw,5
|
36
|
+
risk_network-0.0.8b11.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|