-
Notifications
You must be signed in to change notification settings - Fork 609
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
Add option "checkIfExists" to Channel.fromPath method #666
Comments
SUPER-LOL 😂😂😂 |
might also be able to do a custom |
What do you mean for custom |
Like this:
|
It looks the above comment is off-topic. |
Implementing this evil feature :) I was just thuinking the |
pditommaso
added a commit
that referenced
this issue
Sep 8, 2018
This commit adds a `checkIfExists` boolean option to Channel.fromPath method. When the option is specified with true value and the specified path does not exist in the file system an exception is thrown. The same option has been added to the `file` helper method for consistency.
OK, I went for |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be great if the
.fromPath()
channel generator could have a new optioncheckIfExists
which, well, checks if it exists. Working with full file paths as well as globs.See https://gitter.im/nextflow-io/nextflow?at=5ae0a290b01085166cbdb928 for discussion.
Phil
The text was updated successfully, but these errors were encountered: