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

clonal_threshold accepts multiple values in nextflow_schema.json #293

Merged

Conversation

adamrtalbot
Copy link
Contributor

The nextflow_schema.json used invalid JSON schema for clonal_threshold which accepts two types of values. This PR changes it to use the oneOf and some validation instead of a list.

Fixes #292

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/airrflow branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nextflow run . -profile 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 Dec 21, 2023

nf-core lint overall result: Failed ❌

Posted for pipeline commit 35463cb

+| ✅ 158 tests passed       |+
#| ❔   1 tests were ignored |#
!| ❗   1 tests had warnings |!
-| ❌   4 tests failed       |-

❌ Test failures:

❗ Test warnings:

  • pipeline_todos - TODO string in methods_description_template.yml: #Update the HTML below to your preferred methods description, e.g. add publication citation for this pipeline

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 2.11.1
  • Run at 2023-12-22 17:00:01

@adamrtalbot
Copy link
Contributor Author

Errr help. I haven't changed that much stuff here, it shouldn't be failing this badly?

nextflow_schema.json Outdated Show resolved Hide resolved
nextflow_schema.json Outdated Show resolved Hide resolved
Comment on lines 599 to 604
"symlink",
"rellink",
"link",
"copy",
"copyNoFollow",
"move"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"symlink",
"rellink",
"link",
"copy",
"copyNoFollow",
"move"
"copy",
"copyNoFollow",
"link",
"move",
"rellink",
"symlink"

Copy link
Member

Choose a reason for hiding this comment

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

This comes from the pipeline template, so best would be to fix it there, as otherwise I'm gonna have conflicts here next time 😄

Copy link
Member

@maxulysse maxulysse left a comment

Choose a reason for hiding this comment

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

I just like things to be properly ordered...

@ggabernet
Copy link
Member

@adamrtalbot thanks for figuring out the issue with the nextflow_config.yml file. There's a new template update and that's why the nf-core lint tests are failing. And there seems to be a docker.userEmulation deprecation for the Nextflow latest version and that's why the tests are failing for this version. I will commit a fix here so the CI tests pass, but I will do a template update in a separate PR. Also the change in indentation breaks the prettier linting.

@adamrtalbot
Copy link
Contributor Author

Also the change in indentation breaks the prettier linting.

Doh, I need to fix that. Something up with my editor because this has happened before.

If you merge in the template update I can rebase this branch.

@ggabernet ggabernet merged commit 4222d35 into nf-core:dev Dec 22, 2023
23 of 24 checks passed
@adamrtalbot adamrtalbot deleted the 292_clonal_threshold_accepts_multiple_values branch December 22, 2023 18:11
@maxulysse
Copy link
Member

making @maxulysse happy

<3

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