Skip to content

Commit

Permalink
Merge pull request #166 from AJTDaedalus/main
Browse files Browse the repository at this point in the history
Update CreateTensorPileupFromCffi.py
  • Loading branch information
zhengzhenxian authored Feb 17, 2023
2 parents 6e9c9e8 + 3ea0279 commit 21e7ead
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions preprocess/CreateTensorPileupFromCffi.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ def _plp_data_to_numpy(plp_data, n_rows, gvcf=False):
"""
ffi = libclair3.ffi
size_sizet = np.dtype(np.int).itemsize
_dtype = np.int
size_sizet = np.dtype(int).itemsize
_dtype = int
np_counts = np.frombuffer(ffi.buffer(
plp_data.matrix, size_sizet * plp_data.n_cols * n_rows),
dtype=_dtype
Expand Down

0 comments on commit 21e7ead

Please sign in to comment.