Skip to content

Fix multi integrator#27

Closed
alexwhan wants to merge 3 commits intodelalamo:mainfrom
alexwhan:fix-multi-integrator
Closed

Fix multi integrator#27
alexwhan wants to merge 3 commits intodelalamo:mainfrom
alexwhan:fix-multi-integrator

Conversation

@alexwhan
Copy link
Copy Markdown
Contributor

A warning was coming:

[WARNING] Could not compute energy breakdown: This Integrator is already bound to a context

Which seems to be coming from

simulation = openmm_app.Simulation(

attempting to use the same integrator, which meant components were not being returned

Also added a test for whether get_energy_breakdown is returning values

@delalamo
Copy link
Copy Markdown
Owner

delalamo commented Jan 26, 2026

I went ahead and resolved this in pull request #29 .

@delalamo delalamo closed this Jan 26, 2026
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.

2 participants