RosettaCommons / RosettaCommons/RFdiffusion

AttributeError: 'SelfConditioning' object has no attribute 'idx_pdb'

Open
#408 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3.1k
Forks
644
PR merge metrics
No merged PRs in 30d

Description

Hi All! I met a problem when I tried to run the design_macrocyclic_binder.sh in the example directory of rfdiffusion, Any advise?Thanks for any reply!

Error executing job with overrides: ['inference.output_prefix=./outputs/diffused_binder_cyclic2', 'inference.num_designs=10', 'contigmap.contigs=[12-18 A3-117/0]', 'inference.input_pdb=./input_pdbs/7zkr_GABARAP.pdb', 'inference.cyclic=True', 'diffuser.T=50', 'inference.cyc_chains=a', "ppi.hotspot_res=['A51','A52','A50','A48','A62','A65']", 'preprocess.str_self_cond=False']
Traceback (most recent call last):
File "/mnt/elements/protein_design/RFdiffusion1/20250927/RFdiffusion/examples/../scripts/run_inference.py", line 144, in main
idx_pdb=sampler.idx_pdb
AttributeError: 'SelfConditioning' object has no attribute 'idx_pdb'

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at scripts/run_inference.py around line 144 and reproduce the reported design_macrocyclic_binder.sh command with HYDRA_FULL_ERROR=1 enabled. Trace how the sampler becomes a SelfConditioning object and why idx_pdb is unavailable; the issue is done when the example runs without this AttributeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
bioinformatics, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.