Skip to content

Yaml configuration file support#271

Merged
amcadmus merged 37 commits intodeepmodeling:develfrom
marian-code:yaml_support
Oct 11, 2020
Merged

Yaml configuration file support#271
amcadmus merged 37 commits intodeepmodeling:develfrom
marian-code:yaml_support

Conversation

@marian-code
Copy link
Contributor

@marian-code marian-code commented Oct 8, 2020

This commit is enabling deepmd-kit to read not only json but also yaml configuration files. yaml configuration files are widespread as much as json and are often preferred to json because of their easy human readability. With this addition user will have the ability to choose yaml or json based on their preferences. yaml can be easily parsed to dict same as json. Moreover yaml supports python style comments denoted with #.

  • there is one new dependency: pyyaml
  • added unittest to check if yaml and json config files produce same dictionaries

Han Wang and others added 30 commits January 11, 2020 17:23
fix bug of test data, a few compiling bugs
fix bug in descriptor normalization
merge stable changes on devel into master
update documents for easy installation methods
merge recent changes on devel back to master
fix bug of error compilation when using float precision
@amcadmus amcadmus changed the base branch from master to devel October 9, 2020 08:50
@amcadmus amcadmus changed the base branch from devel to master October 9, 2020 08:51
@amcadmus amcadmus changed the base branch from master to devel October 11, 2020 23:57
@amcadmus amcadmus merged commit 0e956cb into deepmodeling:devel Oct 11, 2020
gzq942560379 pushed a commit to HPC-AI-Team/deepmd-kit that referenced this pull request Sep 1, 2021
njzjz pushed a commit to njzjz/deepmd-kit that referenced this pull request Sep 21, 2023
fix bugs in simplify and more robust local context
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.

4 participants