nettracer3d 0.5.6__tar.gz → 0.5.7__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.
- {nettracer3d-0.5.6/src/nettracer3d.egg-info → nettracer3d-0.5.7}/PKG-INFO +3 -3
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/README.md +2 -2
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/pyproject.toml +1 -1
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/src/nettracer3d/nettracer_gui.py +32 -3
- {nettracer3d-0.5.6 → nettracer3d-0.5.7/src/nettracer3d.egg-info}/PKG-INFO +3 -3
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/LICENSE +0 -0
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/setup.cfg +0 -0
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/src/nettracer3d/__init__.py +0 -0
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/src/nettracer3d/community_extractor.py +0 -0
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/src/nettracer3d/hub_getter.py +0 -0
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/src/nettracer3d/modularity.py +0 -0
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/src/nettracer3d/morphology.py +0 -0
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/src/nettracer3d/nettracer.py +0 -0
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/src/nettracer3d/network_analysis.py +0 -0
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/src/nettracer3d/network_draw.py +0 -0
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/src/nettracer3d/node_draw.py +0 -0
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/src/nettracer3d/proximity.py +0 -0
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/src/nettracer3d/run.py +0 -0
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/src/nettracer3d/segmenter.py +0 -0
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/src/nettracer3d/simple_network.py +0 -0
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/src/nettracer3d/smart_dilate.py +0 -0
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/src/nettracer3d.egg-info/SOURCES.txt +0 -0
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/src/nettracer3d.egg-info/dependency_links.txt +0 -0
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/src/nettracer3d.egg-info/entry_points.txt +0 -0
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/src/nettracer3d.egg-info/requires.txt +0 -0
- {nettracer3d-0.5.6 → nettracer3d-0.5.7}/src/nettracer3d.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: nettracer3d
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.7
|
|
4
4
|
Summary: Scripts for intializing and analyzing networks from segmentations of three dimensional images.
|
|
5
5
|
Author-email: Liam McLaughlin <mclaughlinliam99@gmail.com>
|
|
6
6
|
Project-URL: User_Tutorial, https://www.youtube.com/watch?v=cRatn5VTWDY
|
|
@@ -44,6 +44,6 @@ NetTracer3D is free to use/fork for academic/nonprofit use so long as citation i
|
|
|
44
44
|
|
|
45
45
|
NetTracer3D was developed by Liam McLaughlin while working under Dr. Sanjay Jain at Washington University School of Medicine.
|
|
46
46
|
|
|
47
|
-
-- Version 0.5.
|
|
47
|
+
-- Version 0.5.7 updates --
|
|
48
48
|
|
|
49
|
-
1. Minor change -
|
|
49
|
+
1. Minor change - Can now export network as .gexf (Gephi), .GraphML, or .net (Pajek) for other network analysis softwares to use.
|
|
@@ -8,6 +8,6 @@ NetTracer3D is free to use/fork for academic/nonprofit use so long as citation i
|
|
|
8
8
|
|
|
9
9
|
NetTracer3D was developed by Liam McLaughlin while working under Dr. Sanjay Jain at Washington University School of Medicine.
|
|
10
10
|
|
|
11
|
-
-- Version 0.5.
|
|
11
|
+
-- Version 0.5.7 updates --
|
|
12
12
|
|
|
13
|
-
1. Minor change -
|
|
13
|
+
1. Minor change - Can now export network as .gexf (Gephi), .GraphML, or .net (Pajek) for other network analysis softwares to use.
|
|
@@ -3980,10 +3980,17 @@ class CustomTableView(QTableView):
|
|
|
3980
3980
|
save_menu = context_menu.addMenu("Save As")
|
|
3981
3981
|
save_csv = save_menu.addAction("CSV")
|
|
3982
3982
|
save_excel = save_menu.addAction("Excel")
|
|
3983
|
+
save_gephi = save_menu.addAction("Gephi")
|
|
3984
|
+
save_graphml = save_menu.addAction("GraphML")
|
|
3985
|
+
save_pajek = save_menu.addAction("Pajek")
|
|
3983
3986
|
|
|
3984
3987
|
# Connect the actions - ensure we're saving the active table
|
|
3985
3988
|
save_csv.triggered.connect(lambda: self.parent.active_table.save_table_as('csv'))
|
|
3986
3989
|
save_excel.triggered.connect(lambda: self.parent.active_table.save_table_as('xlsx'))
|
|
3990
|
+
save_gephi.triggered.connect(lambda: self.parent.active_table.save_table_as('gexf'))
|
|
3991
|
+
save_graphml.triggered.connect(lambda: self.parent.active_table.save_table_as('graphml'))
|
|
3992
|
+
save_pajek.triggered.connect(lambda: self.parent.active_table.save_table_as('net'))
|
|
3993
|
+
|
|
3987
3994
|
|
|
3988
3995
|
if self == self.parent.selection_table:
|
|
3989
3996
|
set_action = context_menu.addAction("Swap with network table (also sets internal network properties - may affect related functions)")
|
|
@@ -4061,14 +4068,19 @@ class CustomTableView(QTableView):
|
|
|
4061
4068
|
table_name = "Selection"
|
|
4062
4069
|
|
|
4063
4070
|
# Get save file name
|
|
4064
|
-
file_filter = "CSV Files (*.csv)" if file_type == 'csv' else
|
|
4071
|
+
file_filter = ("CSV Files (*.csv)" if file_type == 'csv' else
|
|
4072
|
+
"Excel Files (*.xlsx)" if file_type == 'excel' else
|
|
4073
|
+
"Gephi Graph (*.gexf)" if file_type == 'gexf' else
|
|
4074
|
+
"GraphML (*.graphml)" if file_type == 'graphml' else
|
|
4075
|
+
"Pajek Network (*.net)")
|
|
4076
|
+
|
|
4065
4077
|
filename, _ = QFileDialog.getSaveFileName(
|
|
4066
4078
|
self,
|
|
4067
4079
|
f"Save {table_name} Table As",
|
|
4068
4080
|
"",
|
|
4069
4081
|
file_filter
|
|
4070
4082
|
)
|
|
4071
|
-
|
|
4083
|
+
|
|
4072
4084
|
if filename:
|
|
4073
4085
|
try:
|
|
4074
4086
|
if file_type == 'csv':
|
|
@@ -4076,11 +4088,28 @@ class CustomTableView(QTableView):
|
|
|
4076
4088
|
if not filename.endswith('.csv'):
|
|
4077
4089
|
filename += '.csv'
|
|
4078
4090
|
df.to_csv(filename, index=False)
|
|
4079
|
-
|
|
4091
|
+
elif file_type == 'xlsx':
|
|
4080
4092
|
# If user didn't type extension, add .xlsx
|
|
4081
4093
|
if not filename.endswith('.xlsx'):
|
|
4082
4094
|
filename += '.xlsx'
|
|
4083
4095
|
df.to_excel(filename, index=False)
|
|
4096
|
+
elif file_type == 'gexf':
|
|
4097
|
+
# If user didn't type extension, add .gexf
|
|
4098
|
+
if not filename.endswith('.gexf'):
|
|
4099
|
+
filename += '.gexf'
|
|
4100
|
+
#for node in my_network.network.nodes():
|
|
4101
|
+
#my_network.network.nodes[node]['label'] = str(node)
|
|
4102
|
+
nx.write_gexf(my_network.network, filename, encoding='utf-8', prettyprint=True)
|
|
4103
|
+
elif file_type == 'graphml':
|
|
4104
|
+
# If user didn't type extension, add .graphml
|
|
4105
|
+
if not filename.endswith('.graphml'):
|
|
4106
|
+
filename += '.graphml'
|
|
4107
|
+
nx.write_graphml(my_network.network, filename)
|
|
4108
|
+
elif file_type == 'net':
|
|
4109
|
+
# If user didn't type extension, add .net
|
|
4110
|
+
if not filename.endswith('.net'):
|
|
4111
|
+
filename += '.net'
|
|
4112
|
+
nx.write_pajek(my_network.network, filename)
|
|
4084
4113
|
|
|
4085
4114
|
QMessageBox.information(
|
|
4086
4115
|
self,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: nettracer3d
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.7
|
|
4
4
|
Summary: Scripts for intializing and analyzing networks from segmentations of three dimensional images.
|
|
5
5
|
Author-email: Liam McLaughlin <mclaughlinliam99@gmail.com>
|
|
6
6
|
Project-URL: User_Tutorial, https://www.youtube.com/watch?v=cRatn5VTWDY
|
|
@@ -44,6 +44,6 @@ NetTracer3D is free to use/fork for academic/nonprofit use so long as citation i
|
|
|
44
44
|
|
|
45
45
|
NetTracer3D was developed by Liam McLaughlin while working under Dr. Sanjay Jain at Washington University School of Medicine.
|
|
46
46
|
|
|
47
|
-
-- Version 0.5.
|
|
47
|
+
-- Version 0.5.7 updates --
|
|
48
48
|
|
|
49
|
-
1. Minor change -
|
|
49
|
+
1. Minor change - Can now export network as .gexf (Gephi), .GraphML, or .net (Pajek) for other network analysis softwares to use.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|