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

Make sure truncated text ends with a newline character #2

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

gouttegd
Copy link
Contributor

@gouttegd gouttegd commented Dec 9, 2024

If the SSSOM text needs to be truncated because it contains more than 1,000 lines, the truncated text by default will not end with a newline character, which will make tsvalid unhappy. So we need to forcefully append a newline character after the truncation.

If the SSSOM text needs to be truncated because it contains more than 1,000 lines, the truncated text by default will not end with a newline character, which will make `tsvalid` unhappy. So we need to forcefully append a newline character after the truncation.
@matentzn matentzn merged commit 43696ca into mapping-commons:main Dec 10, 2024
3 checks passed
@matentzn
Copy link
Contributor

Much appreciated to digging through that code!

@gouttegd gouttegd deleted the patch-1 branch December 10, 2024 12:35
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.

2 participants