mirror of
https://github.com/RosettaCommons/RFdiffusion.git
synced 2026-06-04 18:35:52 +08:00
Add conditional statement for including sampler.idx_pdb for writepdb since ScaffoldedSampler.sample_init() doesn't set idx_pdb.
This commit is contained in:
@@ -141,7 +141,7 @@ def main(conf: HydraConfig) -> None:
|
||||
sampler.binderlen,
|
||||
chain_idx=sampler.chain_idx,
|
||||
bfacts=bfacts,
|
||||
idx_pdb=sampler.idx_pdb
|
||||
**({"idx_pdb": sampler.idx_pdb} if hasattr(sampler, "idx_pdb") else {})
|
||||
)
|
||||
|
||||
# run metadata
|
||||
|
||||
Reference in New Issue
Block a user