Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion alphaspace2/Snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def genBScore(self, receptor):
acc_type=acc_type, don_type=don_type)
else:
logging.debug('Vina atom type not found, ignoring beta scores')
self._beta_scores = np.zeros(len(self._beta_xyz), dtype=np.float)
self._beta_scores = np.zeros(len(self._beta_xyz), dtype=float)

def calculateContact(self, coords):
"""
Expand Down
2 changes: 1 addition & 1 deletion alphaspace2/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def _findInRange(query_points, ref_points, cutoff):

def _markInRange(query_points, ref_points, cutoff):
indices = _findInRange(query_points, ref_points, cutoff)
query_bool = np.zeros(len(query_points), dtype=np.bool)
query_bool = np.zeros(len(query_points), dtype=np.bool_)
query_bool[indices] = 1
return query_bool

Expand Down
Loading