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

Improving error message when using the outdated csv format #1113

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

staudtMarius
Copy link
Member

Resolves #1112

@staudtMarius staudtMarius added the enhancement New feature or request label Jul 1, 2024
@staudtMarius staudtMarius self-assigned this Jul 1, 2024
@staudtMarius staudtMarius added the bug Something isn't working label Jul 1, 2024
Copy link
Member

@sebastian-peter sebastian-peter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The existing error message (The size of the headline does not fit to the size of the resulting fields to attributes mapping.) could also be made more clear. I'd remove the print of fieldsToAttributesKeySet, since it's just going to be headline with a maximum size of the length of fieldVals.

Please also make sure that there are tests for both cases: Too many and too little headline fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Confusing error message on deprecated input data
2 participants