lanl / hippynn

python library for atomistic machine learning
https://lanl.github.io/hippynn/
Other
67 stars 23 forks source link

Enabled removing leading comments from json DB #83

Closed bnebgen-LANL closed 2 months ago

bnebgen-LANL commented 3 months ago

Encountered a json DB without leading comments.

Added option to adjust the number of expected comments in a json DB.

bnebgen-LANL commented 3 months ago

Insignificant change to json reading. I encountered a json database that had no leading comment (pure, raw, json files). This change allows the HIPPYNN json DB reader to expect a variable number of comment lines.