Skip to content

Commit

Permalink
Fix issue that trail SX is added automatically by BCL Convert
Browse files Browse the repository at this point in the history
  • Loading branch information
chuan-wang committed Oct 30, 2024
1 parent 21c0728 commit 9e60825
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions taca/illumina/Runs.py
Original file line number Diff line number Diff line change
Expand Up @@ -853,6 +853,11 @@ def _fix_html_reports_for_complex_lanes(
):
html_report_laneBarcode_parser.sample_data.remove(entry)

# Remove the trailing "_SX" postfix from samples names for BCL Convert when it handles SmartSeq3 libraries
for entry in html_report_laneBarcode_parser.sample_data:
if "_S" in entry["Sample"]:
entry["Sample"] = "_".join(entry["Sample"].split("_")[:2])

Check warning on line 859 in taca/illumina/Runs.py

View check run for this annotation

Codecov / codecov/patch

taca/illumina/Runs.py#L857-L859

Added lines #L857 - L859 were not covered by tests

# Sort sample_data: first by lane then by sample ID
html_report_laneBarcode_parser.sample_data = sorted(
html_report_laneBarcode_parser.sample_data,
Expand Down

0 comments on commit 9e60825

Please sign in to comment.