bioinfomaticsCSU / deepsignal

Detecting methylation using signal-level features from Nanopore sequencing reads
GNU General Public License v3.0
109 stars 21 forks source link

subprocess won't stop #4

Closed PengNi closed 5 years ago

PengNi commented 5 years ago

subprocesses in _extractfeatures module won't stop as expect when the data contains millions of reads, all in S (Interruptible sleep) state.

when there are thousands of reads, it looks fine.

test on v0.1.2 (commit 7dcebae).

PengNi commented 5 years ago

It is caused by using queue.get() after process.join(), thus there is a deadlock.

This issue should be fixed at commit 8cb4ebd.