Skip to content

Commit

Permalink
Fixed one bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bli25 committed Jun 22, 2022
1 parent 3843aad commit 45970f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate_count_matrix_ADTs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ int main(int argc, char* argv[]) {
fout<< "Number of reads with valid feature barcodes: "<< n_valid_feature<< " ("<< fixed<< setprecision(2)<< n_valid_feature * 100.0 / cnt << "%)"<< endl;
fout<< "Number of reads with valid cell and feature barcodes: "<< n_valid<< " ("<< fixed<< setprecision(2)<< n_valid * 100.0 / cnt << "%)"<< endl;

if (n_cat == 0)
if (!detected_ftype)
dataCollectors[0].output(output_name, feature_type, 0, n_feature, cell_names, umi_len, feature_names, fout, n_threads);
else
for (int i = 0; i < n_cat; ++i) {
Expand Down

0 comments on commit 45970f8

Please sign in to comment.