-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Leaving this issue here, since there is no issue page on the protein_seq_des main.
When running with a the --resfile option, the run fails. Also, the documentation states that it is 0 indexed, but in-code, this is 1 indexed.
Error message:
Traceback (most recent call last):
File "/home/ubuntu/protein_seq_des/run.py", line 155, in <module>
main()
File "/home/ubuntu/protein_seq_des/run.py", line 106, in main
design_sampler.init_seq()
File "/home/ubuntu/protein_seq_des/seq_des/sampler.py", line 208, in init_seq
res, idx, res_label = self.sample(self.logits_temp, np.arange(len(res_label)))
File "/home/ubuntu/protein_seq_des/seq_des/sampler.py", line 493, in sample
logits = self.enforce_constraints(logits, idx)
File "/home/ubuntu/protein_seq_des/seq_des/sampler.py", line 367, in enforce_constraints
logits = self.enforce_resfile(logits, idx)
File "/home/ubuntu/protein_seq_des/seq_des/sampler.py", line 362, in enforce_resfile
logits[i, common.atoms.aa_map_inv[aa]] = -np.inf
TypeError: unhashable type: 'set'
Resfile:
NATAA
start
163 PIKAA HNRS
164 PIKAA APST
199 PIKAA HLQR
202 PIKAA AGST
Command:
run.py --pdb my.pdb --randomize 1 --log_dir DL --resfile resfile_dl
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels