Skip to content

Commit 61963e2

Browse files
committed
bug fix for task disappeared issue in xcor()
1 parent 36bb2be commit 61963e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/postalign_bed.bds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ string[] xcor( string tag, string o_dir, string group, int nth_xcor ) {
198198
out := [ xcor_score, xcor_plot ]
199199

200200
taskName:= "xcor " + group
201-
cpus := (nth_xcor) ? -1 : nth_xcor; mem := get_res_mem(memory,nth_xcor);
201+
cpus := (nth_xcor==1) ? -1 : nth_xcor; mem := get_res_mem(memory,nth_xcor);
202202

203203
wait_par( cpus )
204204

0 commit comments

Comments
 (0)