Skip to content

Commit

Permalink
Minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
vtsai881 committed Dec 11, 2023
1 parent b358252 commit a9cb496
Show file tree
Hide file tree
Showing 4 changed files with 441 additions and 63 deletions.
13 changes: 0 additions & 13 deletions sleap/gui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,19 +505,6 @@ def add_submenu_choices(menu, title, options, key):
"All Videos (only tracked frames)...",
lambda: self.commands.exportCSVFile(all_videos=True),
)

fileMenu.addSeparator()
add_menu_item(
export_csv_menu,
"export_csv_current_all_frames",
"Current Video (all frames)...",
lambda: self.commands.exportCSVFile(all_frames=True),
)
add_menu_item(
export_csv_menu,
"export_csv_all_frames",
"All Videos (all frames)...",
lambda: self.commands.exportCSVFile(all_frames=True, all_videos=True),

export_csv_menu.addSeparator()
add_menu_item(
Expand Down
4 changes: 2 additions & 2 deletions sleap/io/format/csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def write(
filename: str,
source_object: Labels,
source_path: str = None,
all_frames: bool: False,
all_frames: bool= False,
video: Video = None,
):
"""Writes csv file for :py:class:`Labels` `source_object`.
Expand All @@ -67,7 +67,7 @@ def write(
labels=source_object,
output_path=filename,
labels_path=source_path,
all_frames=True,
all_frames=all_frames,
video=video,
csv=True,
)
Loading

0 comments on commit a9cb496

Please sign in to comment.