-
Notifications
You must be signed in to change notification settings - Fork 19
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
Unnecessary lines with starfile=0.5.10 #79
Comments
Really weird, thanks for the report - I'll take a look today 🙂 |
unable to reproduce on macOS so seems windows specific as you suggested # Created by the starfile Python package (version 0.5.10) at 11:15:19 on 07/01/2025
data_
loop_
_a #1
1
2
3 |
is this pandas version specific? does up/downgrading pandas affect the behavior? |
Thank you for your reply, @alisterburt ! |
thanks for taking a look yourself I suspect maybe @jahooker's updates to the writing internals are the issue but I'm not sure... |
Maybe try replacing '\n' in starfile/src/starfile/writer.py Line 179 in 62c7577
with |
@alisterburt was there a reason why macos and windows are disabled here: starfile/.github/workflows/ci.yml Line 36 in 62c7577
|
@jojoelfe I remember looking at the amount of free CI, how big the matrix was and thinking it might be too much... open to turning them back on :-) |
Hi! I think @hanjinliu's changes will fix things. I did assume that the line separator would always be |
Description
Since 0.5.10, writing a DataFrame to a star file results in additional lines for each row.
The test workflow of one of my repo that depends on starfile fails only for windows, so maybe this is a windows-specific problem.
What I Did
The text was updated successfully, but these errors were encountered: