Skip to content

Commit

Permalink
Fix typo in mask creation (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
padix-key authored Sep 15, 2024
1 parent 11a8498 commit c04bb3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mini3di/encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def _create_nan_mask(
"""
mask_ca = numpy.isnan(ca).max(axis=1)
mask_n = numpy.isnan(n).max(axis=1)
mask_c = numpy.isnan(n).max(axis=1)
mask_c = numpy.isnan(c).max(axis=1)
return (mask_ca | mask_n | mask_c).repeat(3).reshape(-1, 3)

def encode_atoms(
Expand Down

0 comments on commit c04bb3d

Please sign in to comment.