We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ce2ced commit eec6f93Copy full SHA for eec6f93
1 file changed
TranscriptClean.py
@@ -42,7 +42,10 @@ def main():
42
43
# run_chunk(sam_chunks[0], options, header)
44
45
- for i in range(n_threads):
+ # for i in range(n_threads):
46
+ # only run in range n_threads in case multiproc allocation
47
+ # doesn't need all threads
48
+ for i in range(len(sam_chunks)):
49
if options.dryRun == True:
50
t = mp.Process(target=run_chunk_dryRun,
51
args=(sam_chunks[i], options))
@@ -551,7 +554,6 @@ def split_input(my_list, n):
551
554
batch = my_list[index:]
552
555
chunks.append(batch)
553
556
index += batch_size
-
557
return chunks
558
559
0 commit comments