Skip to content

Commit

Permalink
update subworkflows
Browse files Browse the repository at this point in the history
  • Loading branch information
bugraoezdemir committed Feb 19, 2024
1 parent 183f9dc commit 3fcce94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion modules/subworkflows_ometiff.nf
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@ workflow Convert2OMETIFF_FromS3_CSV { // s3 &! merged && CSV
ch1f = ch1.flatMap { file(it).Name }
ch = Transfer_S3Storage2Local(ch1, ch1f)
output = Convert_EachFile2SeparateOMETIFF(ch)
UpdateCsv(parsedCsv, "RootOriginal", "ImageNameOriginal", "ometiff")
mock = output.collect().flatten().first()
UpdateCsv(parsedCsv, "RootOriginal", "ImageNameOriginal", "ometiff", mock)
if (params.dest_type == "s3") {
Transfer_Local2S3Storage(output)
Transfer_CSV2S3Storage(UpdateCsv.out)
Expand Down
3 changes: 2 additions & 1 deletion modules/subworkflows_omezarr.nf
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@ workflow Convert2OMEZARR_FromS3_CSV { // s3 &! merged && CSV
ch1f = ch1.flatMap { file(it).Name }
ch = Transfer_S3Storage2Local(ch1, ch1f)
output = Convert_EachFile2SeparateOMEZARR(ch)
UpdateCsv(parsedCsv, "RootOriginal", "ImageNameOriginal", "ometiff")
mock = output.collect().flatten().first()
UpdateCsv(parsedCsv, "RootOriginal", "ImageNameOriginal", "ometiff", mock)
if (params.dest_type == "s3") {
Transfer_Local2S3Storage(output)
Transfer_CSV2S3Storage(UpdateCsv.out)
Expand Down

0 comments on commit 3fcce94

Please sign in to comment.