nrbennet/dl_binder_design

Some typo in the template residue mask code

Opened this issue · 0 comments

Hi,
Great work ! I find there are some typos in the predict.py as following :

feat_holder.residue_mask = [int(i) > feat_holder.binderlen for i in range(len(feat_holder.seq))]

I think the code should be

feat_holder.residue_mask = [int(i)+1 > feat_holder.binderlen for i in range(len(feat_holder.seq))]

otherwise the template will conside binderlen + 1 residues