Skip to content

Commit

Permalink
fix genome size issue in import_values
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizhang committed Dec 5, 2024
1 parent 7d7bcd9 commit aa49e13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snapatac2-core/src/preprocessing/import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ where
count
})
.collect::<Vec<_>>();
let (r, c, offset, ind, csr_data) = to_csr_data(counts, genome_size * genome_size);
let (r, c, offset, ind, csr_data) = to_csr_data(counts, genome_size);
CsrMatrix::try_from_csr_data(r, c, offset, ind, csr_data).unwrap()
});

Expand Down

0 comments on commit aa49e13

Please sign in to comment.