Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions checkQC/qc_data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,8 @@ def bclconvert_test_runfolder(qc_data, runfolder_path):
},
},
}
else:
raise Exception("Excpected flowcell_id value as 'HMTFYDRXX' only for "
f"this fuction but got {flowcell_id}"
Copy link
Collaborator

@matrulda matrulda Oct 23, 2025

Choose a reason for hiding this comment

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

Oh, there is a typo in the exception. Also, I thought the exception could be rephrased to something like this.

Suggested change
raise Exception("Excpected flowcell_id value as 'HMTFYDRXX' only for "
f"this fuction but got {flowcell_id}"
raise Exception("This function is only compatible with the run with flowcell_id: 'HMTFYDRXX', "
f"the supplied runfolder has flowcell_id: {flowcell_id}"

)