Skip to content

fixed name of PT simulation script#46

Merged
jacopoventurin merged 1 commit intomainfrom
bugfix/pt_sims
Apr 8, 2026
Merged

fixed name of PT simulation script#46
jacopoventurin merged 1 commit intomainfrom
bugfix/pt_sims

Conversation

@kbno
Copy link
Copy Markdown
Collaborator

@kbno kbno commented Apr 2, 2026

PR Checklist

  • Bug fix

Describe your changes here:

The name of the PT simulation file was changed in pyproject.toml.
Indeed, launching PT simulations via mlcg-nvt_pt_langevin was resulting in the error ModuleNotFoundError: No module named 'mlcg.scripts.mlcg_pt_nvt_langevin'

Copilot AI review requested due to automatic review settings April 2, 2026 14:44
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the Python entry point for the PT (parallel tempering) NVT Langevin simulation CLI so that the installed script resolves to an existing module, avoiding ModuleNotFoundError at runtime.

Changes:

  • Update mlcg-nvt_pt_langevin console script target to mlcg.scripts.mlcg_nvt_pt_langevin:main in pyproject.toml.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Collaborator

@jacopoventurin jacopoventurin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much @kbno!

@jacopoventurin jacopoventurin merged commit e41350b into main Apr 8, 2026
8 checks passed
@jacopoventurin jacopoventurin deleted the bugfix/pt_sims branch April 8, 2026 09:20
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.

3 participants