Skip to content

Json schema improvements#692

Merged
ShimiraOleg merged 14 commits into
nf-core:devfrom
ShimiraOleg:json-schema-improvements
Mar 26, 2025
Merged

Json schema improvements#692
ShimiraOleg merged 14 commits into
nf-core:devfrom
ShimiraOleg:json-schema-improvements

Conversation

@ShimiraOleg

Copy link
Copy Markdown
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/raredisease 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>).
  • Ensure the test suite passes (nextflow run . -profile test_one_sample,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).

@nvnieuwk nvnieuwk changed the base branch from master to dev March 25, 2025 14:21
Comment thread assets/schema_input.json Outdated
Comment thread assets/schema_input.json Outdated
Comment thread assets/schema_input.json Outdated
Comment thread assets/schema_input.json Outdated
Comment thread assets/schema_input.json Outdated
Comment thread assets/schema_input.json Outdated

@nvnieuwk nvnieuwk 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.

Awesome job! Here are some comments

Can you also check the nextflow_schema.json file in the root of the repository?

ShimiraOleg and others added 2 commits March 25, 2025 11:33
Co-authored-by: Nicolas Vannieuwkerke <101190534+nvnieuwk@users.noreply.github.com>
Co-authored-by: Nicolas Vannieuwkerke <101190534+nvnieuwk@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

This PR is against the master branch ❌

  • Do not close this PR
  • Click Edit and change the base to dev
  • This CI test will remain failed until you push a new commit

Hi @ShimiraOleg,

It looks like this pull-request is has been made against the ShimiraOleg/raredisease master branch.
The master branch on nf-core repositories should always contain code from the latest release.
Because of this, PRs to master are only allowed if they come from the ShimiraOleg/raredisease dev branch.

You do not need to close this PR, you can change the target branch to dev by clicking the "Edit" button at the top of this page.
Note that even after this, the test will continue to show as failing until you push a new commit.

Thanks again for your contribution!

ShimiraOleg and others added 5 commits March 25, 2025 11:44
Co-authored-by: Nicolas Vannieuwkerke <101190534+nvnieuwk@users.noreply.github.com>
Co-authored-by: Nicolas Vannieuwkerke <101190534+nvnieuwk@users.noreply.github.com>
Co-authored-by: Nicolas Vannieuwkerke <101190534+nvnieuwk@users.noreply.github.com>
Comment thread nextflow_schema.json Outdated

@nvnieuwk nvnieuwk 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.

Can you add the "exists": true keyword to parameters that are files that should exist?

@nvnieuwk nvnieuwk 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.

Hi, here are some more comments :)

ShimiraOleg and others added 2 commits March 25, 2025 13:39
Co-authored-by: Nicolas Vannieuwkerke <101190534+nvnieuwk@users.noreply.github.com>
@ShimiraOleg

Copy link
Copy Markdown
Contributor Author

Hi, here are some more comments :)

Ok, I've applied the feedback

@jen-reeve jen-reeve linked an issue Mar 25, 2025 that may be closed by this pull request
15 tasks
@jen-reeve

Copy link
Copy Markdown

Do you know why the tests seem to be failing? It looks like there is one test that fails on dev, so unrelated to this PR, but some new tests are failing, presumably due to changes in this PR.

Comment thread nextflow_schema.json Outdated
Comment thread nextflow_schema.json Outdated
@nvnieuwk

Copy link
Copy Markdown
Contributor

Do you know why the tests seem to be failing? It looks like there is one test that fails on dev, so unrelated to this PR, but some new tests are failing, presumably due to changes in this PR.

I've added some comments that should solve most of these issues
@ShimiraOleg please run nextflow run main.nf -profile test,docker -stub before pushing the changes, that way you are sure that validation hasn't been broken due to your changes 😁

nvnieuwk and others added 2 commits March 26, 2025 09:39
Co-authored-by: Nicolas Vannieuwkerke <101190534+nvnieuwk@users.noreply.github.com>
Co-authored-by: Nicolas Vannieuwkerke <101190534+nvnieuwk@users.noreply.github.com>
@ShimiraOleg

Copy link
Copy Markdown
Contributor Author

Do you know why the tests seem to be failing? It looks like there is one test that fails on dev, so unrelated to this PR, but some new tests are failing, presumably due to changes in this PR.

I've added some comments that should solve most of these issues @ShimiraOleg please run nextflow run main.nf -profile test,docker -stub before pushing the changes, that way you are sure that validation hasn't been broken due to your changes 😁

Applied the comments, now it's only failing the pre-commit,
Screenshot from 2025-03-26 10-31-21

Also when i run the nextflow run main.nf -profile test,docker -stub on the codespace, it triggers an error (My theory is that this pipeline data is to big for the space codespace has)
Screenshot from 2025-03-26 10-29-54

@nvnieuwk

Copy link
Copy Markdown
Contributor

@nf-core-bot fix linting pretty please

@nvnieuwk

Copy link
Copy Markdown
Contributor

Not sure what to do about that last issue you are having... @ramprasadn have you had space issues before using this pipeline?

@ramprasadn

Copy link
Copy Markdown
Collaborator

I haven't run into space issues since we introduced cleaning step in the CI workflow. Let's see if the current attempt works 👀

@ShimiraOleg ShimiraOleg requested a review from nvnieuwk March 26, 2025 14:12

@nvnieuwk nvnieuwk 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.

Good job!

@ShimiraOleg ShimiraOleg merged commit 35c7643 into nf-core:dev Mar 26, 2025
@ShimiraOleg ShimiraOleg deleted the json-schema-improvements branch March 26, 2025 14: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.

JSON schema: Raredisease

5 participants