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 incorrect variance returned by _balance_cisonly #313

Merged
merged 1 commit into from
May 22, 2023

Conversation

robomics
Copy link
Contributor

@robomics robomics commented Feb 9, 2023

This PR fixes a bug that causes _balance_cisonly to return the variance for the last chromosome that was processed instead of the variance for each individual chromosome.

Note that this affects the HDF5 type of attributes "var" and "converged" stored in the weight dataset.

Before this commit, _balance_cisonly returns the variance for the last
chromosome that was processed.
This commit updates _balance_cisonly to return variances for each
chromosome.
Note that this affects the HDF5 type of attributes "var" and
"converged".
robomics added a commit to paulsengroup/2022-mcf10a-cancer-progression that referenced this pull request Feb 9, 2023
robomics added a commit to paulsengroup/2022-mcf10a-cancer-progression that referenced this pull request Feb 9, 2023
robomics added a commit to paulsengroup/2022-mcf10a-cancer-progression that referenced this pull request Feb 9, 2023
@nvictus
Copy link
Member

nvictus commented May 22, 2023

Thank you. Great catch!

@nvictus nvictus merged commit a355abc into open2c:master May 22, 2023
@robomics robomics deleted the balance-cis-bugfix branch May 26, 2023 18:37
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