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

Updating handling of <pipeline directory> in nf-core #1140

Closed
ErikDanielsson opened this issue Jul 1, 2021 · 1 comment
Closed

Updating handling of <pipeline directory> in nf-core #1140

ErikDanielsson opened this issue Jul 1, 2021 · 1 comment
Assignees

Comments

@ErikDanielsson
Copy link
Contributor

ErikDanielsson commented Jul 1, 2021

As was discussed on slack it would be good to not have to specify the pipeline directory as the current working directory on the different subcommands of nf-core The suggestion is therefore to specify pipeline directory with --dir <pipeline directory> with current working directory as default, instead of as <command> <pipeline directory>

@ErikDanielsson ErikDanielsson changed the title Updating handling of <pipeline directory> in tools Updating handling of <pipeline directory> in nf-core Jul 1, 2021
@ewels
Copy link
Member

ewels commented Jul 1, 2021

Yup, I think that this would be great 👍

Will probably need a little testing / refining of what happens if the cwd is not a pipeline directory. Just to make sure that annoying stuff doesn't happen if people run the commands when accidentally in a subfolder etc. I was half wondering about traversing up the file tree to try to find a pipeline in this case, but I think it's probably overkill and easier / safer to just exit nicely.

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

No branches or pull requests

3 participants