Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix igenomes_base in nextflow_schema #479

Merged
merged 2 commits into from
Oct 16, 2024
Merged

Conversation

nschcolnicov
Copy link
Contributor

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the pipeline conventions in the contribution docs
  • If necessary, also make a PR on the nf-core/smrnaseq branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core pipelines lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

Copy link

github-actions bot commented Oct 15, 2024

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

Posted for pipeline commit 45e3a40

+| ✅ 243 tests passed       |+
#| ❔   1 tests were ignored |#
!| ❗   1 tests had warnings |!

❗ Test warnings:

❔ Tests ignored:

  • nextflow_config - Config default ignored: params.fastp_known_mirna_adapters

✅ Tests passed:

Run details

  • nf-core/tools version 3.0.2
  • Run at 2024-10-16 15:04:29

@nschcolnicov
Copy link
Contributor Author

Removed the igenomes_base from the nextflow schema, not sure why the CI test checking if the PR is pointing towards dev is failing, should be ok

Copy link
Contributor

@mashehu mashehu left a comment

Choose a reason for hiding this comment

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

Are you not using igenomes?

@nschcolnicov
Copy link
Contributor Author

Are you not using igenomes?

Yes we are, igenomes_base was added into the nextflow_schema as a quickfix, I'm reverting this fix which is no longer needed. With the recent update in the nf-core template, the parameters from schema ignore were not being properly parsed, making the linting fail due to not seeing an entry for the igenomes_base parameter in the nextflow_schema. This was already patched, so we no longer need to have the igenomes_base entry in the nextflow_schema

@mashehu
Copy link
Contributor

mashehu commented Oct 16, 2024

but if you use igenomes, why don't you want to use igenomes_base? it is a standard param when including igenomes in the template.

@nschcolnicov
Copy link
Contributor Author

but if you use igenomes, why don't you want to use igenomes_base? it is a standard param when including igenomes in the template.

We want to use igenomes_base and we are using igenomes_base. We just don't need to have it the schema, but we still have it as a parameter.

https://nfcore.slack.com/archives/CL66GAJBF/p1729006915504669

@mashehu
Copy link
Contributor

mashehu commented Oct 16, 2024

the schema should cover every parameter

@nschcolnicov nschcolnicov changed the title remove value from schema Fix igenomes_base Oct 16, 2024
@nschcolnicov nschcolnicov changed the title Fix igenomes_base Fix igenomes_base in nextflow_schema Oct 16, 2024
@nschcolnicov
Copy link
Contributor Author

@mashehu Should be good to go now, let me know if you have any comments

@mashehu mashehu merged commit 3b7df98 into dev Oct 16, 2024
8 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.

2 participants