nf-core / nf-core/spatialaxe

[upgrade] Cellpose: identify current Wave-container version pin vs upstream v4.1.1

Open
#166 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
46
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Current state

  • Pinned: container community.wave.seqera.io/library/python_pip_cellpose:fdf7a8c3a305a26e at modules/nf-core/cellpose/main.nf:9
  • Modules: modules/nf-core/cellpose
  • Pipeline modes: image (when --method cellpose, the default)

Latest upstream

Investigation needed

  1. What cellpose version is fdf7a8c3a305a26e? The Wave container hash doesn't reveal the underlying pip-installed cellpose version. Need to either:
    • Decode by pulling the container and running cellpose --version
    • Look at the Wave build manifest, or
    • Trace the original Seqera Wave recipe
  2. Are we on v3 or v4? v3 → v4 had architectural changes (single-model cyto3 instead of separate models). If we're on v3, this is a substantial test surface; if already v4, a minor bump.
  3. Behavioral compatibility of our existing args (--flow_threshold 0, --batch_size 1) at the latest version.

Migration plan

  • Decode the Wave container to determine the current cellpose version
  • Review v4.1.1 changelog for behavioral changes affecting --flow_threshold / --batch_size / model selection
  • If a minor bump (within v4.x), update the Wave container; if v3 → v4, plan a model-switch and re-benchmark
  • Re-run image-mode tests on a Xenium v1 bundle to confirm segmentation quality matches

Risks

  • v3 → v4 architectural change is a notable test surface (different default models, different argument defaults)
  • GPU container variant: nf-core/cellpose may have separate CPU/GPU containers — bump consistently
  • Atera relevance: image mode is touched by Atera workflow but blocked by XR (out of scope per user direction); this upgrade primarily helps Xenium v1 image mode

Cross-links

  • Triggered by: Atera compatibility session 2026-05-28 (broader tool inventory check).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at modules/nf-core/cellpose/main.nf and inspect the pinned Wave container fdf7a8c3a305a26e. Pull the container or inspect its Wave manifest to identify the installed Cellpose version, then review v4.1.1 changes for --flow_threshold 0, --batch_size 1, and model selection. Done means determining whether this is a minor v4 bump or a v3-to-v4 migration, updating relevant containers if appropriate, and rerunning image-mode tests on a Xenium v1 bundle.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
bioinformatics, build-system
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.