RFdiffusion icon indicating copy to clipboard operation
RFdiffusion copied to clipboard

TypeError: __init__() got an unexpected keyword argument 'inpaint_str_helix'

Open kushalb1 opened this issue 9 months ago • 1 comments

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.

kushalb1 avatar Apr 10 '25 23:04 kushalb1

The inpaint_str_helix is a somewhat recent addition. A potential work-around until this gets examined and addressed is to revert to an older version with something like git checkout v1.1.0

roccomoretti avatar Apr 11 '25 14:04 roccomoretti