Missing process or function with name mix¶
Issue¶
You get the follow error when using .mix() on channels
Possible source¶
-
You passed a multi-channel output variable to
.mixthat causes this error:ch_scaffolds2bin_for_dastool .mix(DASTOOL_SCAFFOLDS2BIN_METABAT2.out.scaffolds2bin) .mix(DASTOOL_SCAFFOLDS2BIN_MAXBIN2)when you should've specified the particular
.outchannels
Recommendation¶
Use static typing with Nextflow 26.10 or later. A typed process call returns its output directly, so assign it to a variable and pass the variable to mix. nextflow lint reports a process name used as a value:
It also reports a mix of channels with different element types.