nettracer3d 1.0.4__tar.gz → 1.0.5__tar.gz

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.

Files changed (30) hide show
  1. {nettracer3d-1.0.4/src/nettracer3d.egg-info → nettracer3d-1.0.5}/PKG-INFO +1 -1
  2. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/pyproject.toml +1 -1
  3. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d/nettracer_gui.py +3 -2
  4. {nettracer3d-1.0.4 → nettracer3d-1.0.5/src/nettracer3d.egg-info}/PKG-INFO +1 -1
  5. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/LICENSE +0 -0
  6. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/README.md +0 -0
  7. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/setup.cfg +0 -0
  8. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d/__init__.py +0 -0
  9. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d/cellpose_manager.py +0 -0
  10. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d/community_extractor.py +0 -0
  11. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d/excelotron.py +0 -0
  12. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d/modularity.py +0 -0
  13. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d/morphology.py +0 -0
  14. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d/neighborhoods.py +0 -0
  15. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d/nettracer.py +0 -0
  16. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d/network_analysis.py +0 -0
  17. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d/network_draw.py +0 -0
  18. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d/node_draw.py +0 -0
  19. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d/painting.py +0 -0
  20. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d/proximity.py +0 -0
  21. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d/run.py +0 -0
  22. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d/segmenter.py +0 -0
  23. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d/segmenter_GPU.py +0 -0
  24. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d/simple_network.py +0 -0
  25. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d/smart_dilate.py +0 -0
  26. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d.egg-info/SOURCES.txt +0 -0
  27. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d.egg-info/dependency_links.txt +0 -0
  28. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d.egg-info/entry_points.txt +0 -0
  29. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d.egg-info/requires.txt +0 -0
  30. {nettracer3d-1.0.4 → nettracer3d-1.0.5}/src/nettracer3d.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nettracer3d
3
- Version: 1.0.4
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/
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "nettracer3d"
3
- version = "1.0.4"
3
+ version = "1.0.5"
4
4
  authors = [
5
5
  { name="Liam McLaughlin", email="liamm@wustl.edu" },
6
6
  ]
@@ -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 median across all identity groups
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].median()
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.4
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/
File without changes
File without changes
File without changes