Repository navigation
Conversation
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PR introduces a 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #358 +/- ##
=======================================
Coverage 90.93% 90.94%
=======================================
Files 78 78
Lines 51046 51072 +26
=======================================
+ Hits 46421 46447 +26
Misses 4625 4625 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@coderabbitai resume |
|
@coderabbitai review |
✅ Actions performedReviews resumed. |
✅ Actions performedReview triggered.
|
|
@coderabbitai resume |
|
@coderabbitai review |
✅ Actions performedReviews resumed. |
✅ Actions performedReview triggered.
|
|
@coderabbitai resume |
|
@coderabbitai review |
✅ Actions performedReviews resumed. |
✅ Actions performedReview triggered.
|
When sorting or merging with --order template-coordinate, fgumi previously hard-coded SamTag::CB as the cell-barcode tag, with no way to use a different two-character SAM tag (e.g. CR for raw cell barcodes, or a vendor-specific tag). Add an optional --cell-tag <XX> flag to both `fgumi sort` and `fgumi merge`. When omitted, behavior is unchanged (CB default). When provided, the value must be a valid two-character SAM tag and parses via SamTag::FromStr. Passing --cell-tag with any non- template-coordinate sort order is a hard error. Mirrors samtools' `--barcode-tag` for `samtools sort --template- coordinate`.
77a9fc7 to
71aa612
Compare
|
Closing as won't fix. After reflection, we want fgumi to be opinionated that the cell barcode tag is Note for the record: this PR was motivated by an AI review comment on #356, not a user request — no one has asked for a non- |
Summary
When sorting or merging with
--order template-coordinate, fgumi previously hard-codedSamTag::CBas the cell-barcode tag, with no way to use a different two-character SAM tag (e.g.CRfor raw cell barcodes, or a vendor-specific tag).Add an optional
--cell-tag <XX>flag to bothfgumi sortandfgumi merge:CB).[A-Za-z][A-Za-z0-9]), parsed viaSamTag::FromStr.--cell-tagwith any non-template-coordinatesort order is a hard error (--cell-tag is only valid with --order template-coordinate).Mirrors samtools' equivalent CLI shape for cell-aware template-coordinate sorting.
This was flagged by the Opus review of #356 (issue #352) as a known limitation; filing as a standalone enhancement since it's a real Sort/Merge feature, not test mechanics.
Test plan
sort.rs:test_parse_cell_tag_with_override,test_parse_cell_tag_override_rejected_for_non_template_coordinatetest_parse_cell_tagcases still pass (CB default preserved)cargo nextest run --features compare,simulate— 2105/2105 passed, 23 skippedcargo ci-fmtcleancargo ci-lintcleanBackward compatibility
No CLI surface removed; new flag is optional with the prior hard-coded default preserved.