Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deeplabcut/gui/tabs/create_videos.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def create_videos(self):
self.root.writer.write("Labeled videos created.")
else:
failed_videos = [video for success, video in zip(videos_created, videos, strict=False) if not success]
failed_videos_str = ", ".join(failed_videos)
failed_videos_str = ", ".join(str(video) for video in failed_videos)
self.root.writer.write(f"Failed to create videos from {failed_videos_str}.")

if self.plot_trajectories.isChecked():
Expand Down
2 changes: 1 addition & 1 deletion deeplabcut/utils/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def plot_trajectories(

if len(failures) > 0:
# Some videos were not evaluated.
failed_videos = ",".join(failures)
failed_videos = ",".join(str(video) for video in failures)
if len(multianimal_errors) > 0:
verbose_error = ": " + " ".join(multianimal_errors)
else:
Expand Down