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 subworkflows based on json schema #3306

Merged
merged 7 commits into from
Apr 24, 2023

Conversation

mashehu
Copy link
Contributor

@mashehu mashehu commented Apr 19, 2023

Yet another json schema, this time for subworkflows (needed so they are all nicely rendered on the website).
In order for the two schemas to behave nicely, I had to split them into two files and put them into the respective subfolders. It is very similar to the schema for modules, biggest difference is that I don't require types for the input and output, because it felt like 90% was some kind of map (you can still give them and they will be rendered on the homepage).

I fixed the broken meta.yaml according to this new rules.

I also added the hint for the yaml-language server, to nicely show the problems already in the editor (thanks @emiller88 for pointing this out)

@mashehu mashehu requested a review from mirpedrol April 19, 2023 15:19
Copy link
Member

@mirpedrol mirpedrol left a comment

Choose a reason for hiding this comment

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

LGTM :)

@mashehu mashehu added this pull request to the merge queue Apr 24, 2023
@mashehu mashehu removed this pull request from the merge queue due to a manual request Apr 24, 2023
@mashehu mashehu merged commit ca2bf92 into nf-core:master Apr 24, 2023
@mashehu mashehu deleted the fix-subworkflows-modules branch April 24, 2023 09:38
@maxulysse
Copy link
Member

cf #3340

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