fix: Strip document-signature footer from Intelliflex v2.2 CSV#1193
Merged
Conversation
… parsing Real-world Intelliflex v2.2 exports include a --DOCUMENT SIGNATURE-- footer block that was missing from the test fixture. These footer rows have no WELL LOCATION, creating duplicate NaN index entries that cause pd.isna() to fail with "truth value of a Series is ambiguous." Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ajcariaga16
approved these changes
Apr 22, 2026
stephenworlow
approved these changes
Apr 22, 2026
nathan-stender
added a commit
that referenced
this pull request
Apr 22, 2026
### Fixed - Strip document-signature footer from Intelliflex v2.2 CSV (#1193)
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--DOCUMENT SIGNATURE--footer block (serial number, data signature hashes) that was missing from the test fixture added in feat: Add Intelliflex v2.2 flat CSV format support #1184WELL LOCATIONvalue, creating duplicate NaN index entries in the parsed DataFrames. WhenMeasurement.createlooks up a location,df.loc[location]returns a DataFrame instead of a Series, causingpd.isna()to crash with "truth value of a Series is ambiguous"--DOCUMENT SIGNATURE--before passing toread_csv, so pandas never sees them and dtype inference stays cleanTest plan
CO026755_P5_INTELLIFLEX (1).csvthat previously crashed🤖 Generated with Claude Code