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

Index sorting #30

Merged
merged 5 commits into from
Jan 5, 2023
Merged

Index sorting #30

merged 5 commits into from
Jan 5, 2023

Conversation

BorisMuzellec
Copy link
Collaborator

This PR fixes an issue that appears when the count matrix and the clinical data provided to a DeseqDataSet have identical sets of samples, but in a different order, by sorting the indices at initialization.

Copy link
Collaborator

@maikia maikia left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution @BorisMuzellec ;-p

This is already great, if you want to make it even better you can also check if the correct error message is raised with the error to ensure we are not just raising any keyerror but feel free to merge as is

@BorisMuzellec
Copy link
Collaborator Author

Thanks @maikia and @arthurPignetOwkin ! I'll merge then

@BorisMuzellec BorisMuzellec merged commit 690251a into main Jan 5, 2023
@BorisMuzellec BorisMuzellec deleted the fix/index_ordering branch January 5, 2023 15:07
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.

3 participants