Skip to content

Commit 7c2b84b

Browse files
committed
added table update for vesicle pool widget - updates are handled via add_table function
1 parent 8a4d26d commit 7c2b84b

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

synapse_net/tools/base_widget.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -330,17 +330,7 @@ def _add_properties_and_table(self, layer, table_data, save_path=""):
330330
layer.properties = table_data
331331

332332
if add_table is not None:
333-
table = get_table(layer, self.viewer)
334-
if table is None:
335-
with _SilencePrint():
336-
add_table(layer, self.viewer)
337-
else:
338-
# FIXME updating the table does not yet work
339-
with _SilencePrint():
340-
table.update_content()
341-
# table_dict = table_data.to_dict()
342-
# table_dict["index"] = table_dict["label"]
343-
# table.set_content(table_dict)
333+
add_table(layer, self.viewer)
344334

345335
# Save table to file if save path is provided.
346336
if save_path != "":

0 commit comments

Comments
 (0)