Skip to content

Commit

Permalink
fix do_sum_matrices sum=total
Browse files Browse the repository at this point in the history
  • Loading branch information
Yenaled authored Sep 11, 2023
1 parent 100dae6 commit 1581f8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kb_python/count.py
Original file line number Diff line number Diff line change
Expand Up @@ -2004,7 +2004,7 @@ def update_results_with_suffix(current_results, new_results, suffix):
updated_prefixes = ['processed', 'nucleus']
if sum_matrices == 'total':
sums['total'] = do_sum_matrices(
f'{counts_prefix}.mtx', f'{counts_prefix}.nucleus.mtx',
f'{counts_prefix}.mature.mtx', f'{counts_prefix}.nucleus.mtx',
f'{counts_prefix}.total.mtx'
)
updated_prefixes = prefixes
Expand Down Expand Up @@ -2171,7 +2171,7 @@ def update_results_with_suffix(current_results, new_results, suffix):
updated_prefixes = ['processed', 'nucleus']
if sum_matrices == 'total':
sums['total'] = do_sum_matrices(
f'{filtered_counts_prefix}.mtx',
f'{filtered_counts_prefix}.mature.mtx',
f'{filtered_counts_prefix}.nucleus.mtx',
f'{filtered_counts_prefix}.total.mtx'
)
Expand Down

0 comments on commit 1581f8a

Please sign in to comment.