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

csv tsv auto separator determination #2318

Merged
merged 3 commits into from
Jan 7, 2025

Conversation

SteffenHeu
Copy link
Member

No description provided.

// in that case, we default to the most likely option from the file ending
int maxCols = 1;

reader.mark(Integer.MAX_VALUE);
Copy link
Member

Choose a reason for hiding this comment

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

I guess you wanted to put the for loop inside the try with reader block and then call reader.reset() later?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes but it does not work after using the csv reader. you have to open a new stream unfortunately.

@robinschmid robinschmid merged commit b40675d into mzmine:master Jan 7, 2025
6 checks passed
@SteffenHeu SteffenHeu deleted the auto-separator branch January 7, 2025 16:18
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