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

BUG: samples dropped by rarefying are in the table when mismatched pairs are made. #117

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

cherman2
Copy link
Contributor

@cherman2 cherman2 commented Dec 6, 2024

If a sample is dropped by rarefying this is done after the mismatched pairs are made. This means that when the donor mask is applied there are more donors than there are samples. This causes a numpy mismatched array error.

I fixed this by filtering samples that are going to be dropped before the mismatched pairs are made.

@cherman2 cherman2 assigned cherman2 and ebolyen and unassigned cherman2 Dec 6, 2024
Copy link
Member

@ebolyen ebolyen left a comment

Choose a reason for hiding this comment

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

Looks great!

@ebolyen
Copy link
Member

ebolyen commented Dec 12, 2024

Looks like we don't have a release branch so no need to organize any cherry-picked backports. Just issue the patch release when you feel like it off the dev branch.

@ebolyen ebolyen merged commit 7a88753 into qiime2:dev Dec 12, 2024
5 checks passed
@ebolyen ebolyen assigned cherman2 and unassigned ebolyen Dec 12, 2024
@cherman2 cherman2 removed their assignment Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

2 participants