Skip to content

DATAOPS-1789 Fix unidentified index bug - #138

Merged
matrulda merged 3 commits into
Molmed:masterfrom
matrulda:DATAOPS-1789_fix_unidentified_index_bug
Oct 6, 2026
Merged

matrulda merged 3 commits into
Molmed:masterfrom
matrulda:DATAOPS-1789_fix_unidentified_index_bug

Conversation

@matrulda

Copy link
Copy Markdown
Collaborator

Description:
This PR fixes an issue where the samplesheet parser is returning keys in lower case (e.g., 'sample_id', 'lane') while the unidentified index QC checker expects PascalCase keys (e.g., 'Sample_ID', 'Lane').

Side note: Before making a release candidate, I plan to do a separate PR where I migrate this project from setup.py to pytpoject.toml, update some depencencies etc.

Risk analysis:
I considered if it would be safest to handle both lower case and Pascal Case keys in the handler, but looking at the function that parses the samplesheet, it is clear that keys always will be in lower case:

key.lower(): value

Validation procedure:
Test on runfolder processed with BCL Convert where significant unidentified indexes are found.

@nkongenelly nkongenelly left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good

@matrulda
matrulda merged commit 7e63263 into Molmed:master Oct 6, 2026
4 checks 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