Skip to content

Code review for #52 - #68

Merged
nickp60 merged 13 commits into
nf-core:devfrom
vinisalazar:fix/v1.0.0-cleanup
Jul 30, 2026
Merged

Code review for #52 #68
nickp60 merged 13 commits into
nf-core:devfrom
vinisalazar:fix/v1.0.0-cleanup

Conversation

@vinisalazar

Copy link
Copy Markdown
Collaborator

Covers:

  • Lint fixes
  • Fix to software versions topic in PROFILING
  • Doc fixes
  • Remove TODO strings
  • Formatting with nextflow lint -format
  • Fix schema to fix run_* params default: false
  • Attempted CI fixes
  • Address comments from Release 1.0.0 (dev branch) #52

The 4.0.3 template renders `HEAD_REPO:` with two spaces while the prettier
pin used by prek collapses it to one, so the file can never match the
template and CI lint fails. Also drops the stale linting_comment.yml entry,
replaced by pr-comment.yml in the 4.0.3 template.
All three still described a samtools sort subworkflow copied from the template.
Adds real pipeline-specific contribution guidelines in place of the docs/CONTRIBUTING.md placeholder.
Review point 3 from jfy133. Restores the inline comments the formatter drops.
Drops commented-out placeholders, plus outdir (set by awsfulltest) and cleanup (not a param, and unused).
All singularity shards fail with 'Failed to create user namespace: Permission denied'; latest-everything only looks green because it is continue-on-error. Apptainer 1.1.2 (action default) is non-suid and the runner image blocks unprivileged userns.
Modules publish to the topic but nothing consumed it, so the MultiQC software versions section was empty. Restores the template's collection block and drops the unused versions/mqc emits from PROFILING.
@github-actions

github-actions Bot commented Jul 28, 2026

Copy link
Copy Markdown

nf-core pipelines lint overall result: Passed ✅ ⚠️

Posted for pipeline commit d6a6c77

+| ✅ 209 tests passed       |+
#| ❔   5 tests were ignored |#
!| ❗   2 tests had warnings |!
Details

❗ Test warnings:

  • nextflow_config - Config manifest.version should end in dev: 1.0.0
  • readme - README contains the placeholder zenodo.XXXXXXX. This should be replaced with the zenodo doi (after the first release).

❔ Tests ignored:

  • files_unchanged - File ignored due to lint config: .github/PULL_REQUEST_TEMPLATE.md
  • files_unchanged - File ignored due to lint config: .github/workflows/branch.yml
  • files_unchanged - File ignored due to lint config: .github/workflows/linting.yml
  • files_unchanged - File ignored due to lint config: assets/nf-core-funcprofiler_logo_light.png
  • files_unchanged - File ignored due to lint config: .gitignore or .prettierignore

✅ Tests passed:

Run details

  • nf-core/tools version 4.0.3
  • Run at 2026-07-29 06:57:58

@vinisalazar
vinisalazar requested review from miraep8 and nickp60 July 28, 2026 11:03

@vinisalazar vinisalazar left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noting I double checked every changed file

@nickp60 nickp60 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @vinisalazar ! A few comments below. In the future, its easier to review if you separate actual code changes from style changes. Thanks for the additional documentation and linting! Is it passing --release mode linting locally?

Comment thread conf/test_full.config
Comment thread docs/CONTRIBUTING.md
Comment thread .nf-core.yml
emit:
profiles = ch_raw_profiles // channel: [ val(meta), [ reads ] ] - should be text files or biom
versions = ch_versions // channel: [ versions.yml ]
mqc = ch_multiqc_files

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason you are removing the mqc output?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was just a Channel.empty(), should I add it back?

@miraep8 miraep8 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Vini!

Comment thread subworkflows/local/dataprep/meta.yml
nf-core/test-datasets#2172 is merged, so samplesheets/test.csv and
database_full.csv now resolve under pipelines_testdata_base_path. Also
drops outdir and cleanup from test.config: both sat inside params, so
cleanup never reached the Nextflow directive and outdir is supplied by
the caller.
@github-actions

github-actions Bot commented Jul 29, 2026

Copy link
Copy Markdown

❌ nf-test failed with latest Nextflow version

Note

Tests with Nextflow's latest version failed but it will not cause a CI workflow failure.
Please check if the failure is expected with newer (edge-)releases of Nextflow or if it needs fixing.

  • conda | latest-everything | Shard 12/19

See the full run for details.

@vinisalazar

Copy link
Copy Markdown
Collaborator Author

@nickp60 in response to your last comment: yes, lint --release is working locally. But the last two commits I pushed are breaking actions. Will try some more things.

nf-core/test-datasets#2172 replaced KOs_sketched_scaled_1000_demo.sig.zip
on the funcprofiler branch, which is where tests/nextflow.config points
pipelines_testdata_base_path. The pipeline-level snapshot already carried
the new md5 because it resolves the database through database.csv.
diamond 2.1.24 to 2.2.1 and seqkit 2.9.0 to 2.13.0; metaphlan stays on
4.1.1 but drops the pip/setuptools workaround and reports its version
through the versions topic. gunzip and untar only gain the apptainer
container-engine check. utils_nfschema_plugin renames option keys that
this pipeline never sets, since it passes null for both the parameters
schema and the CLI typecast.
The newer module drops the pip/setuptools dependency, leaving metaphlan
on a Python 3.12 env with no distutils. Docker is unaffected.
@vinisalazar
vinisalazar requested review from miraep8 and nickp60 July 29, 2026 07:12

@nickp60 nickp60 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @vinisalazar!!

@nickp60
nickp60 merged commit 489dd49 into nf-core:dev Jul 30, 2026
83 checks passed
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.

3 participants