Skip to content

Index sorting#30

Merged
BorisMuzellec merged 5 commits intomainfrom
fix/index_ordering
Jan 5, 2023
Merged

Index sorting#30
BorisMuzellec merged 5 commits intomainfrom
fix/index_ordering

Conversation

@BorisMuzellec
Copy link
Copy Markdown
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.

@BorisMuzellec BorisMuzellec requested review from a user, arthurPignetOwkin and maikia January 2, 2023 09:34
Copy link
Copy Markdown
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
Copy Markdown
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