Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
daichengxin committed May 24, 2022
1 parent 96f1a17 commit 33dfebc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions subworkflows/local/create_input_channel.nf
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,12 @@ def create_meta_channel(LinkedHashMap row, is_sdrf, enzymes, files, wrapper) {
// apply transformations given by specified root_folder and type
if (params.root_folder) {
filestr = params.root_folder + File.separator + filestr
}

filestr = (params.local_input_type ? filestr.take(filestr.lastIndexOf('.'))
filestr = (params.local_input_type ? filestr.take(filestr.lastIndexOf('.'))
+ '.' + params.local_input_type
: filestr)
}



// existance check
if (!file(filestr).exists()) {
Expand Down

0 comments on commit 33dfebc

Please sign in to comment.