Skip to content

Commit

Permalink
even better thanks to @robsyme
Browse files Browse the repository at this point in the history
  • Loading branch information
maxulysse committed Apr 25, 2024
1 parent bed6f43 commit 8c2edd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflows/imcyto/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ workflow IMCYTO {
// Group full stack files by sample and roi_id
//
IMCTOOLS.out.full_stack_tiff
.map{ meta, tiff -> [ [meta + [roi:tiff[0].getParent().getParent().getName()]], tiff ]}
.map{ meta, tiff -> [ [meta + [roi:tiff[0].parent.parent.name]], tiff ]}
.transpose(by: [1])
.flatten()
.collate(2)
Expand All @@ -101,7 +101,7 @@ workflow IMCYTO {
//

IMCTOOLS.out.ilastik_stack
.map{ meta, tiff -> [ [meta + [roi:tiff[0].getParent().getParent().getName()]], tiff ]}
.map{ meta, tiff -> [ [meta + [roi:tiff[0].parent.parent.name]], tiff ]}
.transpose(by: [1])
.flatten()
.collate(2)
Expand Down

0 comments on commit 8c2edd3

Please sign in to comment.