-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fix code smell by refactoring add_decompressed_fastq_files_to_housekeeper #2597
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is beautiful 🌷 Maybe add some tests too 👀
I definitely could but this is essentially some cutting and pasting work 😅 Does not seem to be any unit tests for this functionality previously though. |
Yes, that is what I meant. I think we should try to add tests to functions we touch if they don't have any. But if you feel it is out of scope feel free to disregard |
@diitaz93 Added some tests now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job with the tests 👍
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Deployed to production:
|
Description
In #2378 there was a code smell left that this PR handles. It reduces the complexity in
add_decompressed_fastq_files_to_housekeeper
.Fixed
add_decompressed_fastq_files_to_housekeeper
is split into smaller methods.How to prepare for test
us
paxa
How to test
Expected test outcome
Review
Thanks for filling in who performed the code review and the test!
This version is a
Implementation Plan