nettracer3d 1.0.4__py3-none-any.whl → 1.0.5__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.
Potentially problematic release.
This version of nettracer3d might be problematic. Click here for more details.
- nettracer3d/nettracer_gui.py +3 -2
- {nettracer3d-1.0.4.dist-info → nettracer3d-1.0.5.dist-info}/METADATA +1 -1
- {nettracer3d-1.0.4.dist-info → nettracer3d-1.0.5.dist-info}/RECORD +7 -7
- {nettracer3d-1.0.4.dist-info → nettracer3d-1.0.5.dist-info}/WHEEL +0 -0
- {nettracer3d-1.0.4.dist-info → nettracer3d-1.0.5.dist-info}/entry_points.txt +0 -0
- {nettracer3d-1.0.4.dist-info → nettracer3d-1.0.5.dist-info}/licenses/LICENSE +0 -0
- {nettracer3d-1.0.4.dist-info → nettracer3d-1.0.5.dist-info}/top_level.txt +0 -0
nettracer3d/nettracer_gui.py
CHANGED
|
@@ -10087,7 +10087,7 @@ class ViolinDialog(QDialog):
|
|
|
10087
10087
|
# Convert all remaining columns to float type (batch conversion)
|
|
10088
10088
|
df_copy = df_copy.astype(float)
|
|
10089
10089
|
|
|
10090
|
-
# First, calculate the centerpoint for each column by finding the
|
|
10090
|
+
# First, calculate the centerpoint for each column by finding the min across all identity groups
|
|
10091
10091
|
column_centerpoints = {}
|
|
10092
10092
|
|
|
10093
10093
|
for column in df_copy.columns:
|
|
@@ -10098,7 +10098,7 @@ class ViolinDialog(QDialog):
|
|
|
10098
10098
|
valid_nodes = [node for node in node_list if node in df_copy.index]
|
|
10099
10099
|
if valid_nodes and ((str(identity) == str(column)) or str(identity) == f'{str(column)}+'):
|
|
10100
10100
|
# Get the median value for this identity in this column
|
|
10101
|
-
identity_min = df_copy.loc[valid_nodes, column].
|
|
10101
|
+
identity_min = df_copy.loc[valid_nodes, column].min()
|
|
10102
10102
|
centerpoint = identity_min
|
|
10103
10103
|
break # Found the match, no need to continue
|
|
10104
10104
|
|
|
@@ -10107,6 +10107,7 @@ class ViolinDialog(QDialog):
|
|
|
10107
10107
|
column_centerpoints[column] = centerpoint
|
|
10108
10108
|
else:
|
|
10109
10109
|
# Fallback: if no matching identity, use column median
|
|
10110
|
+
print(f"Could not find {str(column)} in node identities. As a fallback, using the median of all values in this channel rather than the minimum of user-designated valid values.")
|
|
10110
10111
|
column_centerpoints[column] = df_copy[column].median()
|
|
10111
10112
|
|
|
10112
10113
|
# Now normalize each column using Z-score-like calculation with identity centerpoint
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nettracer3d
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.5
|
|
4
4
|
Summary: Scripts for intializing and analyzing networks from segmentations of three dimensional images.
|
|
5
5
|
Author-email: Liam McLaughlin <liamm@wustl.edu>
|
|
6
6
|
Project-URL: Documentation, https://nettracer3d.readthedocs.io/en/latest/
|
|
@@ -6,7 +6,7 @@ nettracer3d/modularity.py,sha256=pborVcDBvICB2-g8lNoSVZbIReIBlfeBmjFbPYmtq7Y,224
|
|
|
6
6
|
nettracer3d/morphology.py,sha256=jyDjYzrZ4LvI5jOyw8DLsxmo-i5lpqHsejYpW7Tq7Mo,19786
|
|
7
7
|
nettracer3d/neighborhoods.py,sha256=lh4_zuTwgTq-u8VHy72buBfZf58FEJo9sH3IIBuZr68,52735
|
|
8
8
|
nettracer3d/nettracer.py,sha256=6r5aGtmiHxGkfCh5lJuREAoloZ3WKvcaRAD7kmWXedk,273957
|
|
9
|
-
nettracer3d/nettracer_gui.py,sha256=
|
|
9
|
+
nettracer3d/nettracer_gui.py,sha256=GannK0Yvq80I0Pz6HxVlfiow6lcLlmJAsisenUq2hPQ,666323
|
|
10
10
|
nettracer3d/network_analysis.py,sha256=kBzsVaq4dZkMe0k-VGvQIUvM-tK0ZZ8bvb-wtsugZRQ,46150
|
|
11
11
|
nettracer3d/network_draw.py,sha256=F7fw6Pcf4qWOhdKwLmhwqWdschbDlHzwCVolQC9imeU,14117
|
|
12
12
|
nettracer3d/node_draw.py,sha256=kZcR1PekLg0riioNeGcALIXQyZ5PtHA_9MT6z7Zovdk,10401
|
|
@@ -17,9 +17,9 @@ nettracer3d/segmenter.py,sha256=aOO3PwZ2UeizEIFX7N8midwzTzbEDzgM2jQ7WTdbrUg,7067
|
|
|
17
17
|
nettracer3d/segmenter_GPU.py,sha256=OUekQljLKPiC4d4hNZmqrRa9HSVQ6HcCnILiAfHE5Hg,78051
|
|
18
18
|
nettracer3d/simple_network.py,sha256=dkG4jpc4zzdeuoaQobgGfL3PNo6N8dGKQ5hEEubFIvA,9947
|
|
19
19
|
nettracer3d/smart_dilate.py,sha256=TvRUh6B4q4zIdCO1BWH-xgTdND5OUNmo99eyxG9oIAU,27145
|
|
20
|
-
nettracer3d-1.0.
|
|
21
|
-
nettracer3d-1.0.
|
|
22
|
-
nettracer3d-1.0.
|
|
23
|
-
nettracer3d-1.0.
|
|
24
|
-
nettracer3d-1.0.
|
|
25
|
-
nettracer3d-1.0.
|
|
20
|
+
nettracer3d-1.0.5.dist-info/licenses/LICENSE,sha256=jnNT-yBeIAKAHpYthPvLeqCzJ6nSurgnKmloVnfsjCI,764
|
|
21
|
+
nettracer3d-1.0.5.dist-info/METADATA,sha256=_0HLxnSBy83kTuLBk9HlSh_1-sQjoeJwJTXUtGdIEPw,7120
|
|
22
|
+
nettracer3d-1.0.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
23
|
+
nettracer3d-1.0.5.dist-info/entry_points.txt,sha256=Nx1rr_0QhJXDBHAQg2vcqCzLMKBzSHfwy3xwGkueVyc,53
|
|
24
|
+
nettracer3d-1.0.5.dist-info/top_level.txt,sha256=zsYy9rZwirfCEOubolhee4TyzqBAL5gSUeFMzhFTX8c,12
|
|
25
|
+
nettracer3d-1.0.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|