RosettaCommons / RosettaCommons/RFdiffusion
TypeError: __init__() got an unexpected keyword argument 'inpaint_str_helix'
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.1k
- Forks
- 644
- PR merge metrics
- No merged PRs in 30d
Description
Hello, every time I've attempted to run the inference script I keep running into the same error. Not sure what exactly the cause is, but even the example scripts provided in the repo are throwing out this same error
Error executing job with overrides: ['contigmap.contigs=[A8-37/7-12/A38-115]', 'inference.input_pdb=monomeric.pdb', 'inference.output_prefix=residue_replacement', 'inference.num_designs=10']
Traceback (most recent call last):
File "/scache/scratch/user/RFdiffusion/scripts/run_inference.py", line 84, in main
x_init, seq_init = sampler.sample_init()
File "/projectsp/projectsuser/Tools/RFdiffusion/rfdiffusion/inference/model_runners.py", line 277, in sample_init
self.contig_map = self.construct_contig(self.target_feats)
File "/projectsp/projectsuser/Tools/RFdiffusion/rfdiffusion/inference/model_runners.py", line 240, in construct_contig
return ContigMap(target_feats, **self.contig_conf)
TypeError: init() got an unexpected keyword argument 'inpaint_str_helix'
I am a new user of the software so I assume this error is fairly trivial but I have not been able to run any scripts whatsoever. Any help would be greatly appreciated.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with scripts/run_inference.py and follow the traceback into rfdiffusion/inference/model_runners.py, especially construct_contig and the ContigMap call. Compare the configuration passed as contig_conf with the ContigMap initializer and reproduce the failure using one of the example scripts. Done means the example inference scripts run without the unexpected inpaint_str_helix argument error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100