Skip to content

deeplabcut.filterpredictions failing when passing a list #2669

@dlhagger

Description

@dlhagger

Is there an existing issue for this?

  • I have searched the existing issues

Bug description

When passing a list of videos to filterpredictions only the first element in the list is filtered, and the other elements are wrongly saying there are no unfiltered predictions to filter.

Screenshot 2024-07-15 at 10 32 25 AM

When you pass an element of the list, it works correctly. Screenshots below to describe.

Screenshot 2024-07-15 at 10 32 37 AM

Also returning a future warning they may or may not be related

FutureWarning: Starting with pandas version 3.0 all arguments of to_hdf except for the argument 'path_or_buf' will be keyword-only.
data.to_hdf(outdataname, "df_with_missing", format="table", mode="w")

Operating System

operating system MacOS 14.5

DeepLabCut version

dlc version 3.0.01rc2

DeepLabCut mode

single animal

Device type

gpu

Steps To Reproduce

No response

Relevant log output

No response

Anything else?

No response

Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions