Simon Pearce
09/16/2024, 8:45 AMgroupTuple, that looks like:
[meta, [[file1a, file1b], [file2a, file2b], ... ]]
The second element here is an ArrayBag , in case that matters.
I'm trying to return:
[meta, [file1a, file1b, file2a, file2b, ... ]]
I thought that .map{meta, counts -> [meta, counts.collect()]} would do that, but it doesn't seem to do anythingRike Hanssen
09/16/2024, 8:49 AMflatten.collect() ?Simon Pearce
09/16/2024, 8:51 AMMahesh Binzer-Panchal
09/16/2024, 9:21 AMflatten. You're confusing the channel operators and collection functions. collect is unnecessary here.