Skip to content

Commit

Permalink
missing slash in path
Browse files Browse the repository at this point in the history
  • Loading branch information
caspargross committed Jan 16, 2019
1 parent 1d09085 commit 9c383e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def getFiles(tsvFile) {
def returnFile(it) {
// Return file if it exists and is readable
if (workflow.profile in ['test', 'localtest'] ) {
return(file("$workflow.projectDir/data" + it))
return(file("$workflow.projectDir/data/" + it))
}
if (!file(it).exists()) exit 1, "Missing file in TSV file: ${it}, see --help for more information"
if (!file(it).canRead()) exit 1, "Cannot read file in TSV file: ${it}"
Expand Down

0 comments on commit 9c383e6

Please sign in to comment.