Users faced an error where when they generated video examples from preprocessed videos with a _x.x-x.x_ tag, the behavior example sorter wasn't able to properly detect the file extension. This PR refactors the behavior example sorting functionality to use methods from pathlib.Path to ensure these errors don't happen.
Users faced an error where when they generated video examples from preprocessed videos with a
_x.x-x.x_
tag, the behavior example sorter wasn't able to properly detect the file extension. This PR refactors the behavior example sorting functionality to use methods frompathlib.Path
to ensure these errors don't happen.