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

UX: Second empty line break at bottom of file #515

Open
joeflack4 opened this issue Apr 7, 2024 · 2 comments
Open

UX: Second empty line break at bottom of file #515

joeflack4 opened this issue Apr 7, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@joeflack4
Copy link
Collaborator

joeflack4 commented Apr 7, 2024

Overview

Just a super small UX issue I noticed. When using write_table(), there's a second empty line break getting inserted at the end of my TSV. I'm not sure if this is intentional. But the standard I usually come across is 1 blank line at the end, or 0 blank lines.

@matentzn
Copy link
Collaborator

matentzn commented Apr 7, 2024

Hm. I am assuming you are using write_table().

The problem must be located in this line:

lines = lines + [s]

Do you see something obviously wrong with it?

@joeflack4
Copy link
Collaborator Author

Ah yes, write_table()! I haven't seen something obviously wrong, but I haven't looked. I can take a look, though.

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

No branches or pull requests

2 participants