Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue with merging loaded configs #423

Merged
merged 1 commit into from
Aug 19, 2022
Merged

Fixed issue with merging loaded configs #423

merged 1 commit into from
Aug 19, 2022

Conversation

mgastegger
Copy link
Collaborator

Fixed a problem with OmegaConf.merge when updating basic MD configs with configs loaded from a file (load_config=...).
Previously it was not possible to use custom config entries with new fields not present in the basic config (e.g. temperature in RPMD integrators). Using OmegaConf.update with the force_add=True flag solves the issue.

@ktschuett ktschuett merged commit 0796a50 into dev Aug 19, 2022
@ktschuett ktschuett deleted the mg/fix_md_config branch August 19, 2022 15:21
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