From 8635ec06f87972e990ced78f620accd55c6f2511 Mon Sep 17 00:00:00 2001 From: Valerie Tsai <87097162+vtsai881@users.noreply.github.com> Date: Sun, 3 Dec 2023 15:59:17 -0500 Subject: [PATCH] Update app.py added dropdown menu button options for exporting csvs with all frames (ln 495-521) --- sleap/gui/app.py | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/sleap/gui/app.py b/sleap/gui/app.py index 41d696f0c..039cd931e 100644 --- a/sleap/gui/app.py +++ b/sleap/gui/app.py @@ -496,15 +496,28 @@ def add_submenu_choices(menu, title, options, key): add_menu_item( export_csv_menu, "export_csv_current", - "Current Video...", + "Current Video (only frames with tracking)...", self.commands.exportCSVFile, ) add_menu_item( export_csv_menu, "export_csv_all", - "All Videos...", + "All Videos (only frames with tracking)...", lambda: self.commands.exportCSVFile(all_videos=True), ) + + fileMenu.addSeparator() + add_menu_item( + export_csv_menu, + "export_csv_current", + "Current Video (all frames)...", + lambda: self.commands.exportCSVFile(all_frames=True), + ) + add_menu_item( + export_csv_menu, + "export_csv_all", + "All Videos (all frames)...", + lambda: self.commands.exportCSVFile(all_frames=True, all_videos=True), add_menu_item(fileMenu, "export_nwb", "Export NWB...", self.commands.exportNWB)