Skip to content

Commit

Permalink
fixed empty array bug
Browse files Browse the repository at this point in the history
  • Loading branch information
umahsn committed Feb 19, 2022
1 parent 6aa7dc0 commit 90b3326
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions nanocaller_src/snpCaller.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,14 @@ def test_model(params,pool):
for res in result:

pos,test_ref,x_test,dp,freq=res
test_ref=test_ref.astype(np.float16)
completed+=1

completed+=1
if len(pos)==0:
continue


test_ref=test_ref.astype(np.float16)


x_test=x_test.astype(np.float32)

Expand Down

0 comments on commit 90b3326

Please sign in to comment.