You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
star_index =Channel
.fromPath(params.star_index)
.ifEmpty { exit 1, "STAR index not found: ${params.star_index}" }
However, as far as I can see, this does not work if a wrong file path is given since fromPath() doesn't check for file existence and therefore, the channel is not empty.
The text was updated successfully, but these errors were encountered:
The new checkIfExists option was added in nextflow-io/nextflow#666 and is now released. Would be great to use it!
See https://gitter.im/nextflow-io/nextflow?at=5ae09da61130fe3d361684a1 for reason:
However, as far as I can see, this does not work if a wrong file path is given since
fromPath()
doesn't check for file existence and therefore, the channel is not empty.The text was updated successfully, but these errors were encountered: