Skip to content

chore(qpx): bump qpx/diann and qpx/openmsconsensus to 1.1.5 - #53

Merged
ypriverol merged 1 commit into
mainfrom
chore/qpx-1.1.5
Oct 7, 2026
Merged

ypriverol merged 1 commit into
mainfrom
chore/qpx-1.1.5

Conversation

@ypriverol

@ypriverol ypriverol commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Bumps both shared qpx modules from 1.1.4 to qpx 1.1.5 (container ghcr.io/bigbio/qpx:1.1.5, PyPI pin qpx==1.1.5 in environment.yml).

qpx 1.1.5 (release) includes:

CLI compatibility (1.1.4 -> 1.1.5)

  • No option used by the modules was renamed or removed (--consensusxml, --sdrf-file, --fasta, --pg-matrix-path, --diann-log, --qvalue-threshold, --standardized-intensities, --max-cpus, --max-memory, --compression all unchanged).
  • New --mudata/--no-mudata (default on): the CLI now builds qpx_output/<prefix>.h5mu via the same write_dataset_mudata guard the modules called in their inline python step. Kept as-is, the modules would build the MuData twice (expensive on large datasets). The inline python is replaced with a move of the CLI-written view out of qpx_output (so it is still emitted only on mudata, not inside qpx_dataset). The best-effort semantics are unchanged: no view -> warning, task still succeeds. --no-mudata via ext.args now skips the view entirely.
  • --consensusxml now also accepts a comma-separated list of files; the module still passes one file (no change needed).

Tests

Stub snapshots are unchanged (stub versions.yml is qpx: stub). The qpx/diann real-data test has no committed snapshot, so nothing to update there.

Summary by CodeRabbit

  • Updates
    • Updated QPX-based processing for DIA-NN and OpenMS Consensus to the latest configured release.
    • Converted outputs now use the .h5mu file produced during processing when it is available. If it is absent, processing logs a warning and retains the parquet views.

qpx 1.1.5 carries the protein-properties batched rewrite (bigbio/qpx#338,
pyarrow 2 GB crash on large TMT) and the 1.1.4..1.1.5 converter fixes.

qpx 1.1.5 `convert diann` / `convert openms-consensus` now write the
MuData view themselves (--mudata, default on) through the same
write_dataset_mudata guard the modules called. Drop the modules' own
python build, which would rebuild the h5mu a second time, and just move
the CLI-written view out of qpx_output.
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@coderabbitai

coderabbitai Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7bdf7e5d-5461-4fb9-a78e-1510b238b380
📥 Commits

Reviewing files that changed from the base of the PR and between 6f371a7 and c2c00e7.

📒 Files selected for processing (4)
  • modules/bigbio/qpx/diann/environment.yml
  • modules/bigbio/qpx/diann/main.nf
  • modules/bigbio/qpx/openmsconsensus/environment.yml
  • modules/bigbio/qpx/openmsconsensus/main.nf

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

Both DIANN and OpenMS consensus modules now use QPX 1.1.5. They remove the post-conversion Python MuData writer and move the .h5mu file produced by QPX when it exists. If it is absent, each module logs a warning.

Changes

QPX converter output

Layer / File(s) Summary
Update QPX versions
modules/bigbio/qpx/diann/environment.yml, modules/bigbio/qpx/diann/main.nf, modules/bigbio/qpx/openmsconsensus/environment.yml, modules/bigbio/qpx/openmsconsensus/main.nf
Both module environments and container images now use QPX 1.1.5 instead of 1.1.4.
Handle optional MuData output
modules/bigbio/qpx/diann/main.nf, modules/bigbio/qpx/openmsconsensus/main.nf
Both modules remove the Python writer call. When QPX produces an .h5mu file, the process moves it to the task output. Otherwise, the process logs a warning; the OpenMS consensus warning states that the Parquet views remain complete and authoritative.

Priority: ➖ Normal

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to c2c00

The converter-produced MuData files are handled at the expected paths. No identified issue blocks merging.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: QPX 1.1.5 updates for both the Diann and OpenMS consensus modules.
Linked Issues check ✅ Passed Issue #332 is closed and supplies historical context only. No active directly linked issue targets remain, so no linked-issue coding requirements apply.
Out of Scope Changes check ✅ Passed The reported changes are limited to the qpx 1.1.5 pins and the related MuData output handling in qpx/diann and qpx/openmsconsensus. Moving the CLI-produced view replaces the prior inline build and…
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · 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

Comment @coderabbitai help to get the list of available commands.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@ypriverol
ypriverol merged commit e197717 into main Oct 7, 2026
8 checks passed
ypriverol added a commit to bigbio/quantms that referenced this pull request Oct 9, 2026
Re-vendor bigbio/qpx/openmsconsensus from bigbio/nf-modules#53
(c2c00e7): container ghcr.io/bigbio/qpx:1.1.5, PyPI pin qpx==1.1.5, and
the MuData view taken from qpxc convert instead of being rebuilt.
Shen-YuFei pushed a commit to Shen-YuFei/quantmsdiann that referenced this pull request Oct 14, 2026
Re-vendor bigbio/qpx/diann from bigbio/nf-modules#53 (c2c00e7):
container ghcr.io/bigbio/qpx:1.1.5, PyPI pin qpx==1.1.5, and the MuData
view taken from qpxc convert instead of being rebuilt.
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