Commit a26d636
chore(simplify): collapse try_pair_transcripts now that all callers supply the combined score
After merging dev's combined-cluster PE stitching (commit 45792dd), the
only caller of `try_pair_transcripts` always supplies a combined WT
score — the per-mate fallback path that drove the `Option<i32>`
override was removed with the merge.
- Collapse `combined_wt_score_override: Option<i32>` → `combined_wt_score: i32`.
- Drop the `scorer` parameter (its only use was in the fallback closure).
- Delete the dead per-mate fallback that recomputed the score from
t1.score + t2.score - p1 - p2 + combined_p.
- Fold identical `thresh1` / `thresh2` half-mapped thresholds into a
single `single_mate_threshold` variable (both expressions were
verbatim identical post-merge).
Net -19 lines; same test pass-count (340), same STAR diff-script
baseline (9/10 byte-identical).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 45792dd commit a26d636
1 file changed
Lines changed: 8 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
798 | 798 | | |
799 | 799 | | |
800 | 800 | | |
801 | | - | |
802 | | - | |
| 801 | + | |
803 | 802 | | |
804 | 803 | | |
805 | 804 | | |
| |||
808 | 807 | | |
809 | 808 | | |
810 | 809 | | |
811 | | - | |
812 | | - | |
| 810 | + | |
813 | 811 | | |
814 | 812 | | |
815 | 813 | | |
| |||
1021 | 1019 | | |
1022 | 1020 | | |
1023 | 1021 | | |
1024 | | - | |
1025 | | - | |
1026 | | - | |
1027 | | - | |
1028 | | - | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
1029 | 1025 | | |
1030 | 1026 | | |
1031 | 1027 | | |
1032 | | - | |
| 1028 | + | |
1033 | 1029 | | |
1034 | 1030 | | |
1035 | 1031 | | |
1036 | | - | |
| 1032 | + | |
1037 | 1033 | | |
1038 | 1034 | | |
1039 | 1035 | | |
| |||
1091 | 1087 | | |
1092 | 1088 | | |
1093 | 1089 | | |
1094 | | - | |
1095 | | - | |
| 1090 | + | |
1096 | 1091 | | |
1097 | 1092 | | |
1098 | 1093 | | |
| |||
1127 | 1122 | | |
1128 | 1123 | | |
1129 | 1124 | | |
1130 | | - | |
1131 | | - | |
1132 | | - | |
1133 | | - | |
1134 | | - | |
1135 | | - | |
1136 | | - | |
1137 | | - | |
1138 | | - | |
1139 | | - | |
1140 | | - | |
1141 | | - | |
1142 | | - | |
1143 | | - | |
1144 | 1125 | | |
1145 | 1126 | | |
1146 | 1127 | | |
| |||
0 commit comments