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

Small updates to schema JSON to remove false and "None" defaults. #302

Merged
merged 2 commits into from
Aug 9, 2023

Conversation

robsyme
Copy link
Contributor

@robsyme robsyme commented Aug 8, 2023

The schema currently specifies a number of String parameters that have "None" as the default value. This default will be used verbatim in Nextflow pipelines and cause errors. They are removed in this PR

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/funcscan 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).

@github-actions
Copy link

github-actions bot commented Aug 8, 2023

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 2b76c10

+| ✅ 157 tests passed       |+
!| ❗   1 tests had warnings |!

❗ 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 passed:

Run details

  • nf-core/tools version 2.9
  • Run at 2023-08-08 17:46:08

Copy link
Member

@jfy133 jfy133 left a comment

Choose a reason for hiding this comment

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

In principle fine - @jasmezz can you double check that the prokka scientific notation to decimal is correct for prokka?

@jasmezz
Copy link
Collaborator

jasmezz commented Aug 9, 2023

Yes, I tested that and works. Just Bakta DB download seems flaky recently, often "too many download attempts" error in CI tests. Let's hope it is willing to succeed today.

@jasmezz jasmezz merged commit 0cc3d5a into dev Aug 9, 2023
@jasmezz jasmezz deleted the remove-none-from-schema branch August 9, 2023 10:19
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