These are chat archives for nextflow-io/nextflow

27th
May 2018
spaceturtle
@spaceturtle
May 27 2018 09:59

inFile = file(params.list)
inChannel = Channel.create()
inFile.eachLine {
String line, int x ->
String[] temp = line.split("\t")
print x
inChannel.bind([temp[0], temp[1], temp[2]])
}

process test {
input:
set id, r1, r2 from inChannel

    output:
            set id, r1, r2 into qbtChannel

    cpus 4
    tag { id }

}

This script cannot stop. Can any one give me some help? I think it is because inChannle is still open, but I don't know how to close it. Thanks.