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

MRG: provide default failed filenames based on CSV #195

Merged
merged 8 commits into from
Jan 28, 2025
Merged

Conversation

ctb
Copy link
Contributor

@ctb ctb commented Jan 26, 2025

Fixes #192

--failed defaults to os.path.basename(csv_file).fail.txt, and --checksum-fail defaults to os.path.basename(csv_file).checksum_fail.txt.

@ctb
Copy link
Contributor Author

ctb commented Jan 26, 2025

ready for review & merge @bluegenes!

tests/test_gbsketch.py Outdated Show resolved Hide resolved
tests/test_urlsketch.py Outdated Show resolved Hide resolved
tests/test_urlsketch.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@bluegenes bluegenes left a comment

Choose a reason for hiding this comment

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

thanks @ctb, this is great. I think the file extensions should be .csv, since they are csv files, right?

@ctb
Copy link
Contributor Author

ctb commented Jan 28, 2025

thanks @ctb, this is great. I think the file extensions should be .csv, since they are csv files, right?

yep!

Copy link
Collaborator

@bluegenes bluegenes left a comment

Choose a reason for hiding this comment

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

great! 🎉

@ctb ctb merged commit ba5d26d into main Jan 28, 2025
1 check passed
@ctb ctb deleted the default_fail_out branch January 28, 2025 20:03
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.

make --failed and --checksum-fail optional/provide good defaults
2 participants