Skip to content

Conversation

@bentsherman
Copy link
Member

Comment on lines +45 to +58
"items": {
"oneOf": [
{
"$ref": "#/definitions/parameter"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/parameter"
}
}
]
}
},
Copy link
Member Author

Choose a reason for hiding this comment

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

Seems like this is equivalent to #/definitions/tupleParameter

Comment on lines +152 to +164
"extra_args": {
"type": "array",
"description": "Extra arguments for the module",
"items": {
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "Description of the argument"
}
}
}
},
Copy link
Member Author

Choose a reason for hiding this comment

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

I couldn't find any examples of this in nf-core/modules. Is it related to the task.ext properties?

Copy link
Collaborator

Choose a reason for hiding this comment

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

yes! this is to document cases where we use args, args2, etc. Here the full thread discussion where we dicided to add this

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