Skip to content

Commit 0e1c5fc

Browse files
committed
Update EnQA.py
1 parent 8d039ae commit 0e1c5fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EnQA.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
input_idx = np.array([i['rindex'] for i in pose_input])
7272
pose_af2 = parse_pdbfile(args.af2_pdb)
7373
af2_idx = np.array([i['rindex'] for i in pose_af2])
74-
mask = af2_idx in input_idx
74+
mask = np.isin(af2_idx, input_idx)
7575
af2_qa = af2_qa[:, mask]
7676
plddt = plddt[:, mask]
7777
cmap = cmap[:, mask][mask, :]

0 commit comments

Comments
 (0)