Skip to content

Default use_whole_cell_only to true; hide mask smoothing and Cellpose preprocessing params - #47

Merged
mikemcka merged 1 commit into
WEHI-SODA-Hub:devfrom
mikemcka:feat/whole-cell-default-hide-advanced
Oct 8, 2026
Merged

mikemcka merged 1 commit into
WEHI-SODA-Hub:devfrom
mikemcka:feat/whole-cell-default-hide-advanced

Conversation

@mikemcka

@mikemcka mikemcka commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • use_whole_cell_only now defaults to true (nextflow.config and schema default). Nuclei are no longer segmented or measured unless --use_whole_cell_only false is set.
  • Mask smoothing options (smooth_masks, smooth_method, smooth_kernel_size, smooth_n_workers, smooth_chunksize, smooth_tolerance, smooth_min_area) and Cellpose preprocessing options (cellpose_tile_norm_blocksize, cellpose_clip_limit, cellpose_clahe_kernel_size, cellpose_gaussian_sigma) are marked "hidden": true in nextflow_schema.json. They are not shown in the Seqera Platform launch form or in --help (shown with --show_hidden). They can still be set on the command line or in a params file. Their defaults are unchanged.
  • modules/local/cellmeasurement/tests/main.nf.test: the basic test passes a nuclear mask, so it now sets use_whole_cell_only = false. The existing snapshot still applies.
  • docs/usage.md and CHANGELOG.md (new Unreleased section) updated.

Breaking change

Runs that do not set use_whole_cell_only no longer produce nuclear masks or nuclear measurements. This includes the conf/test* profiles.

Testing

  • nf-core pipelines schema lint nextflow_schema.json: schema valid, defaults match nextflow.config. The only warning (kronos_allow_novel_defaults) predates this change.
  • nf-test and pipeline runs not executed.

🤖 Generated with Claude Code

…llpose preprocessing params

- use_whole_cell_only now defaults to true (config + schema default)
- Mark every Mask smoothing and Cellpose preprocessing parameter as hidden
  in the schema, so they are not shown in the Seqera launch form or --help
- Pin use_whole_cell_only = false in the cellmeasurement module test so its
  existing snapshot (which includes nuclear measurements) still applies
- Document both changes in usage.md and CHANGELOG

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mikemcka
mikemcka merged commit c5f1b8e into WEHI-SODA-Hub:dev Oct 8, 2026
5 checks passed
@mikemcka
mikemcka deleted the feat/whole-cell-default-hide-advanced branch October 8, 2026 01:22
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