Skip to content

Commit

Permalink
repair algorithm reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
cc2qe committed Jun 2, 2015
1 parent bf5d08a commit d8aad4b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/l_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,10 @@ def merge(BP, sample_order, v_id, use_product):
A[7]+= ';EVENT=' + A[2]

#add new alg
A[7]+= ';ALG=PROD'
if use_product:
A[7]+= ';ALG=PROD'
else:
A[7] += ';ALG=SUM'

print_var_line('\t'.join(A))
return v_id
Expand Down Expand Up @@ -289,7 +292,6 @@ def merge(BP, sample_order, v_id, use_product):
p_R[i] += a_R[c_i][i]

ALG = 'SUM'

if use_product:
pmax_i_L = p_L.index(max(p_L))
pmax_i_R = p_R.index(max(p_R))
Expand Down

0 comments on commit d8aad4b

Please sign in to comment.