Skip to content

Ignore nonpositive detection lengths when importing VIAME CSV - #1915

Open
mattdawkins wants to merge 1 commit into
mainfrom
fix/ignore-nonpositive-csv-length
Open

Ignore nonpositive detection lengths when importing VIAME CSV#1915
mattdawkins wants to merge 1 commit into
mainfrom
fix/ignore-nonpositive-csv-length

Conversation

@mattdawkins

Copy link
Copy Markdown
Member

VIAME CSV imports could create zero or negative detection length attributes. Ignore nonpositive lengths from the dedicated length column and explicit (atr) length fields in the desktop and Python importers. Positive attribute lengths retain precedence, with a positive column length used as fallback, and unrelated attributes are preserved.

Added 20 regression cases per importer covering absent, zero, negative, and positive attribute lengths against zero, negative, and positive column lengths, including generated attribute definitions.

Validation: 48 Python CSV import/export tests and 34 desktop CSV tests passed; ESLint on both changed TypeScript files and Black checks on both changed Python files passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant