Skip to content

Commit

Permalink
unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Yenaled committed Aug 9, 2023
1 parent 3b80ee1 commit 65f2000
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kb_python/count.py
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,8 @@ def filter_with_bustools(
counts_dir,
count_result['mtx'],
count_result['barcodes'],
batch_barcodes_path=count_result['batch_barcodes'],
batch_barcodes_path=count_result['batch_barcodes']
if 'batch_barcodes' in count_result else None,
genes_path=count_result.get('genes'),
t2g_path=t2g_path,
ec_path=count_result.get('ec'),
Expand Down Expand Up @@ -2190,6 +2191,7 @@ def update_results_with_suffix(current_results, new_results, suffix):
],
[
filtered_results[prefix]['batch_barcodes']
if batch_barcodes else None
for prefix in prefixes
],
genes_paths=[
Expand Down
Binary file modified tests/fixtures/quant/index.saved
Binary file not shown.

0 comments on commit 65f2000

Please sign in to comment.