Skip to content

Commit

Permalink
Refactor based on comments from AA
Browse files Browse the repository at this point in the history
  • Loading branch information
chuan-wang committed Nov 1, 2024
1 parent fc370ac commit fe399db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taca/illumina/Runs.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ def _process_simple_lane_with_single_demux(
# 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])
entry["Sample"] = "_".join(entry["Sample"].split("_")[:-1])
html_report_laneBarcode_parser.sample_data = sorted(
html_report_laneBarcode_parser.sample_data,
key=lambda k: (k["Lane"].lower(), k["Sample"]),
Expand Down

0 comments on commit fe399db

Please sign in to comment.