Skip to content

Commit

Permalink
Fix whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlibuit committed Jul 11, 2021
1 parent e75b2c2 commit a16181a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/task_file_handling.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ task zip_files {
String? docker_image = "theiagen/utility:1.1"
}
command <<<
file_array = (~{sep=' ' files_to_zip})
file_array=(~{sep=' ' files_to_zip})
mkdir ~{zipped_file_name}

# cat files one by one and store them in the concatenated_files file
# move files oto a single directory before zipping
for index in ${!file_array[@]}; do
file=${file_array[$index]}
mv ${file} ~{zipped_file_name}
Expand All @@ -140,7 +140,7 @@ task zip_files {
zip -r ~{zipped_file_name}.zip ~{zipped_file_name}
>>>
output {
File zipped_files = "~{zipped_file_name}.zip"
File zipped_files = "~{zipped_file_name}.zip"
}
runtime {
docker: "~{docker_image}"
Expand Down

0 comments on commit a16181a

Please sign in to comment.