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

Check file extensions to choose a delimiter #100

Merged
merged 1 commit into from Oct 18, 2021

Conversation

Lireer
Copy link
Contributor

@Lireer Lireer commented Oct 17, 2021

The default delimiter is \t for .tsv, | for .psv and , for everything else. CLI options take precedence over these defaults.

I just put it where it fit, but it's certainly not great. I might look into ways to have a more uniform config handling: fixed defaults -> config file -> anything automatic -> cli options

Copy link
Owner

@alexhallam alexhallam left a comment

Choose a reason for hiding this comment

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

Always enjoy learning from your PRs! Thanks for the great code!

@alexhallam
Copy link
Owner

The default delimiter is \t for .tsv, | for .psv and , for everything else. CLI options take precedence over these defaults.

I just put it where it fit, but it's certainly not great. I might look into ways to have a more uniform config handling: fixed defaults -> config file -> anything automatic -> cli options

This is a harder problem. I am not sure if any solution will look pretty. Thanks for contributing code and thought to the problem.

@alexhallam alexhallam merged commit f5ee2c1 into alexhallam:main Oct 18, 2021
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.

None yet

2 participants