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

Fix critical issue with HUMID module #1857

Merged
merged 7 commits into from
Feb 6, 2023

Conversation

Redmar-van-den-Berg
Copy link
Contributor

See #1856 for details.

Fix issue-1856, which was caused by the fact that the process_stats
function did not return anything on success, causing the data to be
discarded.
Copy link
Member

@ewels ewels left a comment

Choose a reason for hiding this comment

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

Module needs a bit more refactoring to clean up functions outside object.

multiqc/modules/humid/humid.py Outdated Show resolved Hide resolved
@ewels
Copy link
Member

ewels commented Feb 6, 2023

I can try to have a go at the changes later if I get a moment (and if you don't beat me to it 👍🏻 )

@Redmar-van-den-Berg
Copy link
Contributor Author

I've refactored the code a bit more, hopefully it is clearer now.

Copy link
Member

@ewels ewels left a comment

Choose a reason for hiding this comment

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

Did my own minor refactoring, hope that's ok... Mostly a personal taste thing, but I find this a little less complex (no copying / passing dicts around) and easier to read / maintain.

Thanks for the fix! ✨

@ewels ewels merged commit 24b885f into MultiQC:master Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants