Skip to content

fix: align annot_table to counts before preprocessing - #567

Merged
phisanti merged 1 commit into
fantafrom
feat/robust-summary-agg
Dec 1, 2026
Merged

phisanti merged 1 commit into
fantafrom
feat/robust-summary-agg

Conversation

@phisanti

@phisanti phisanti commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

pgx.createPGX aligned annot_table to the counts rows only after pgx.preprocess. Aggregation by symbol (playbase.preprocess dedup = "aggregate", dedup_by = "symbol") reads annot$symbol by source-row position, so a reordered annot_table merged the wrong rows. The existing alignment block now runs before preprocessing (counts do not change in between). Tests cover option pass-through and symbol aggregation keeping counts at source rows.

Used by bigomics-monorepo #1218, whose compute images pin this branch at a6b5cfb. Merged with a merge commit so that pin stays reachable.

- move the annot_table/counts row alignment ahead of pgx.preprocess so
  symbol aggregation reads each source row's own symbol
- test that dedup, dedup_by and dedup_method pass through createPGX and
  that symbol aggregation shrinks X while counts keep every source row
@coderabbitai

coderabbitai Bot commented Dec 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 003eadda-94a9-4195-bdf6-64be622dffe7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@phisanti
phisanti merged commit a6ffa4a into fanta Dec 1, 2026
1 of 2 checks passed
@phisanti
phisanti deleted the feat/robust-summary-agg branch December 1, 2026 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant