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

DATAOPS-779: Fix undetermined percentage handler #117

Conversation

matrulda
Copy link
Collaborator

This PR fixes an issue where the Undetermined handler did not report any errors. This issue was introduced when we updated the interop parser to return info about index reads. PhiX for index reads are NaN and the handler did not handle this properly.

One reason that we missed this bug, was that the interop parser was tested with a MiSeq without index reads. I have now added a new public dataset with index reads and updated the tests accordingly.

Validation procedure: I ran this version on a runfolder where too high % determined had been reported. % Undetermined errors were displayed as expected. I don't think any further manual testing is required.

@matrulda matrulda requested a review from Aratz September 11, 2024 11:49
Copy link
Collaborator

@Aratz Aratz left a comment

Choose a reason for hiding this comment

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

Looks good! On top of the other comment, I think it would be nice if the results of the CI were shown in pull requests. I think this can be done by changing the following line in the ci file: on: [push, pull_request].

It might not work for this PR but I think it should for all the PRs that will be created after that.

tests/parsers/test_interop_parser.py Outdated Show resolved Hide resolved
@matrulda
Copy link
Collaborator Author

Looks good! On top of the other comment, I think it would be nice if the results of the CI were shown in pull requests. I think this can be done by changing the following line in the ci file: on: [push, pull_request].

It might not work for this PR but I think it should for all the PRs that will be created after that.

Ah yes, I agree. Will fix!

@matrulda
Copy link
Collaborator Author

Thanks for the comments! Using a dict made it so much cleaner 👌

@matrulda matrulda requested a review from Aratz September 12, 2024 05:50
@matrulda matrulda merged commit 5f91e1b into Molmed:master Sep 12, 2024
1 check passed
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