-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a ValidVIAtracksCSV class (2/4) (#219)
* Add skeleton for ValidVIAtracksCSV class * Add skeleton for ValidVIAtracksCSV test * Draft VIA file validator * Change asserts to errors (WIP) * Remove 1-based integer checks (for track ID and frames). Replace assert by errors * Small edits * Add tests for VIA file (pending fixtures) * Add one fixture * Add frame number as invalid file attribute * Factor out valid header fixture * Add test for frame number wrongly encoded in the filename * Add unique frame numbers test. Check bbox shape. * Add test for region attribute not defined * Add test for track ID not castable as an integer * Add test for unique track IDs per frame * Small edits to comments and docstrings * Apply suggestions from code review Co-authored-by: Niko Sirmpilatze <niko.sirbiladze@gmail.com> * Fix test duplicate from rebase * Rename symbols * csv to .csv * Small edits to comments --------- Co-authored-by: Niko Sirmpilatze <niko.sirbiladze@gmail.com>
- Loading branch information
Showing
3 changed files
with
565 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.