Skip to content

hybrid: pick low-mode source seeds from the pool after seed insertion - #21

Open
rpinho wants to merge 1 commit into
rowansci:masterfrom
rpinho:fix-openconf-lowmode
Open

rpinho wants to merge 1 commit into
rowansci:masterfrom
rpinho:fix-openconf-lowmode

Conversation

@rpinho

@rpinho rpinho commented Nov 18, 2026

Copy link
Copy Markdown

When pool_max is smaller than the number of seeds, inserting the seeds evicts some of them and removes their conformers, but low-mode following still picks its sources from the full seed list.
generate_conformers("CCCCCCCC", config=ConformerConfig(n_seeds=8, seed_prune_rms_thresh=-1.0, n_steps=0, max_out=1, pool_max=1, use_low_mode_following=True, low_mode_n_source_seeds=8, do_final_refine=False)) raises ValueError: Bad Conformer Id.
The patch keeps only seeds that are still in the pool before sorting and truncating the source list.
Tests run that generation and check, with fixed seed energies, that only the seed left in the pool is scanned.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant