Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix bug in appendCell that caused custom parser to be ignored #912

Merged
merged 1 commit into from
Apr 28, 2021

Conversation

lwhite1
Copy link
Collaborator

@lwhite1 lwhite1 commented Apr 27, 2021

In TextColumn, calling appendCell(string, parser) failed because the results of the call to parser.parse(string) was passed to appendObj(), which called parse again, this time using the default parser. This is fixed.

This commit also makes it possible to directly set the missingValueStrings list in a custom parser.

Description

see above

Testing

Tests were added for TextColumn and StringColumn, which already worked ok.

In TextColumn, calling appendCell(string, parser) failed because the results of the call to parser.parse(string) was passed to appendObj(), which called parse again, this time using the default parser. This is fixed.

This commit also makes it possible to directly set the missingValueStrings list in a custom parser.
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@lwhite1 lwhite1 merged commit 20a1775 into master Apr 28, 2021
@lwhite1 lwhite1 deleted the issue-897 branch May 1, 2021 16:51
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