Skip to content

Commit

Permalink
Kinase matrix for size: Fill NaN with 0 (got lost during code move)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiquesydow committed Jun 30, 2021
1 parent ddbd62a commit fb42cab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kissim/comparison/matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def kinase_distance_matrix(

# If matrix contains number of structure pairs: NaN > 0, cast to int
if by == "size":
matrix = matrix.fillna(0)
matrix = matrix.astype("int64")

return matrix
Expand Down

0 comments on commit fb42cab

Please sign in to comment.