Fix reading filtered state by maximpavliv · Pull Request #2844 · DeepLabCut/DeepLabCut

@maximpavliv

In the Create Video tab in the GUI, unfiltered videos could not be created because of an incorrect reading of the "Use filtered data" checkbox state.
This PR fixes this bug

n-poulsen

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maximpavliv Looks good to me, thanks! Did you check if there's anywhere else in the code that we're using checkState()?

@maximpavliv

@n-poulsen You're right, this error was present in a few other places. Fixed them as well and refactored a bit, can you review again please?

n-poulsen

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks!

@maximpavliv

@maximpavliv

@n-poulsen n-poulsen deleted the maxim/fix_reading_filtered_checkbox_state branch

January 24, 2025 14:13