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 number of arguments for pipelines_create within the command_create function #3074

Merged
merged 7 commits into from
Jul 19, 2024

Conversation

LaurenceKuhl
Copy link
Contributor

Fixes #3068

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.

Thanks for the fix!
The command is still failing but I left some suggestions on how you can fix it :)

@@ -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):
Copy link
Member

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

Copy link
Member

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

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.

Only one last small comment, otherwise LGTM :)

nf_core/__main__.py Outdated Show resolved Hide resolved
Co-authored-by: Júlia Mir Pedrol <[email protected]>
@LaurenceKuhl LaurenceKuhl merged commit 7890143 into nf-core:dev Jul 19, 2024
34 checks passed
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