-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix number of arguments for pipelines_create within the command_create function #3074
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix!
The command is still failing but I left some suggestions on how you can fix it :)
nf_core/__main__.py
Outdated
@@ -2181,14 +2181,14 @@ def command_lint( | |||
help="The name of the GitHub organisation where the pipeline will be hosted (default: nf-core)", | |||
) | |||
@click.pass_context | |||
def command_create(ctx, name, description, author, version, force, outdir, template_yaml, plain, organisation): | |||
def command_create(ctx, name, description, author, version, force, outdir, template_yaml, organisation): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't remove the argument from this function, this makes the command to fail, you can test it by running nf-core create
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also saw that we should give a default to the version, as we do with nf-core pipelines create
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only one last small comment, otherwise LGTM :)
Co-authored-by: Júlia Mir Pedrol <mirp.julia@gmail.com>
Fixes #3068