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

merge devel to master (v0.13.0) #1676

Merged
merged 69 commits into from
Nov 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
270ad63
merge master to devel (v0.12.1) (#1510)
njzjz Apr 10, 2024
d78d8ef
build(deps): bump actions/checkout from 2 to 4 (#1509)
dependabot[bot] Apr 10, 2024
d28dbe6
build(deps): bump actions/setup-python from 2 to 5 (#1508)
dependabot[bot] Apr 10, 2024
db13fa6
Modify the post_fp_cp2k function to generate multisystem data. Allows…
dulinhan Apr 12, 2024
4424fa7
remove conda directory since not being maintained (#1516)
njzjz Apr 13, 2024
ccab7fb
feat(build): Add Git archives version files (#1517)
njzjz-bot Apr 13, 2024
9c5566a
ci: setup uv (#1522)
njzjz Apr 16, 2024
7d6eed4
[pre-commit.ci] pre-commit autoupdate (#1521)
pre-commit-ci[bot] Apr 16, 2024
c0faa58
docs: setup uv for readthedocs (#1524)
njzjz Apr 19, 2024
b671420
[pre-commit.ci] pre-commit autoupdate (#1530)
pre-commit-ci[bot] Apr 22, 2024
f240e8b
fix broken test (#1538)
njzjz May 7, 2024
59e0f70
[pre-commit.ci] pre-commit autoupdate (#1533)
pre-commit-ci[bot] May 7, 2024
62d4cf4
avoid syntax warning for "\{" and "\}" (#1539)
Yi-FanLi May 7, 2024
d5dd205
docs: remove `set_prefix` (#1537)
njzjz May 7, 2024
8bf5778
fix pre-commit errors (#1540)
njzjz May 7, 2024
e13c186
fix: hard-coded model name in gromacs model devi calculation (#1544)
wanghan-iapcm May 9, 2024
9d29459
add option to select backends TF/PT (#1545)
thangckt May 11, 2024
07f745b
[pre-commit.ci] pre-commit autoupdate (#1548)
pre-commit-ci[bot] May 14, 2024
cf29489
fix: fix `SyntaxWarning: invalid escape sequence` (#1550)
njzjz May 16, 2024
7491eb9
Fix exception message (#1554)
wanghan-iapcm May 27, 2024
54e48c6
[pre-commit.ci] pre-commit autoupdate (#1558)
pre-commit-ci[bot] May 28, 2024
c5812fb
Simplify API version validation (#1556)
thangckt May 29, 2024
d98252d
[pre-commit.ci] pre-commit autoupdate (#1566)
pre-commit-ci[bot] Jun 4, 2024
cf67ea8
[pre-commit.ci] pre-commit autoupdate (#1568)
pre-commit-ci[bot] Jun 11, 2024
7812b33
[pre-commit.ci] pre-commit autoupdate (#1569)
pre-commit-ci[bot] Jul 1, 2024
8782483
[pre-commit.ci] pre-commit autoupdate (#1574)
pre-commit-ci[bot] Jul 2, 2024
e9a25fb
chore: add the `mlp_engine` option (#1576)
njzjz Jul 6, 2024
41a8d1b
fix: remove ref-names from .git_archival.txt (#1578)
njzjz-bot Jul 9, 2024
2f39d12
[pre-commit.ci] pre-commit autoupdate (#1579)
pre-commit-ci[bot] Jul 9, 2024
30bc1e5
fix: fix typo in run_train (#1581)
njzjz Jul 10, 2024
5044565
fix: fix `dtype` of `keywords_high_multiplicity` (#1582)
njzjz Jul 13, 2024
7f14124
fix: skip setting seed when descriptor/fitting_net doesn't exist (#1584)
njzjz Jul 13, 2024
13dc51f
fix: fix checkpoint filename for the PyTorch backend (#1585)
njzjz Jul 13, 2024
a33e270
fix: fix UnboundLocalError in `_select_by_model_devi_standard` (#1587)
njzjz Jul 15, 2024
1f2c67c
docs: pin sphinx-argparse to < 0.5.0 (#1591)
njzjz-bot Jul 16, 2024
8f78294
[pre-commit.ci] pre-commit autoupdate (#1589)
pre-commit-ci[bot] Jul 18, 2024
3a1ed00
chore: ban module-level import of pymatgen (#1597)
njzjz Jul 19, 2024
b309304
fix: fix PyTorch model extension in simplify (#1596)
njzjz Jul 19, 2024
c4552bd
[pre-commit.ci] pre-commit autoupdate (#1598)
pre-commit-ci[bot] Jul 23, 2024
cdfef61
[pre-commit.ci] pre-commit autoupdate (#1604)
pre-commit-ci[bot] Aug 3, 2024
39115f2
fix: support `shuffle_poscar` for other formats (#1610)
njzjz Aug 3, 2024
65d1977
[pre-commit.ci] pre-commit autoupdate (#1612)
pre-commit-ci[bot] Aug 6, 2024
8d90864
docs(deps): pin `sphinx_rtd_theme` to `>=0.6` (#1615)
njzjz Aug 9, 2024
6c09e5f
ci: test against numpy v2 (#1614)
njzjz Aug 9, 2024
dd4c82b
[pre-commit.ci] pre-commit autoupdate (#1616)
pre-commit-ci[bot] Aug 13, 2024
08c8f9e
[pre-commit.ci] pre-commit autoupdate (#1622)
pre-commit-ci[bot] Aug 20, 2024
afc6e34
[pre-commit.ci] pre-commit autoupdate (#1625)
pre-commit-ci[bot] Aug 27, 2024
e285ab3
Improve function `pert_scaled` (#1563)
thangckt Aug 27, 2024
c3cb6ce
solve Path error on Windows (#1627)
thangckt Aug 28, 2024
ed76304
[pre-commit.ci] pre-commit autoupdate (#1631)
pre-commit-ci[bot] Sep 3, 2024
7029065
fix: UT bug exposed by upgraded dpdata (#1636)
wanghan-iapcm Sep 10, 2024
87d03c2
[pre-commit.ci] pre-commit autoupdate (#1635)
pre-commit-ci[bot] Sep 10, 2024
c6ef08e
docs: update DeepModeling URLs (#1637)
njzjz-bot Sep 11, 2024
b5c6ea0
[pre-commit.ci] pre-commit autoupdate (#1638)
pre-commit-ci[bot] Sep 18, 2024
453b49f
fix: compare pwscf energy by relative error (#1643)
wanghan-iapcm Sep 24, 2024
1c1e385
[pre-commit.ci] pre-commit autoupdate (#1642)
pre-commit-ci[bot] Sep 24, 2024
4a3775d
Change default deepmd_version and make the screen output complete (#1…
scott-5 Sep 29, 2024
1d60b27
[pre-commit.ci] pre-commit autoupdate (#1647)
pre-commit-ci[bot] Oct 2, 2024
1c89cd2
[pre-commit.ci] pre-commit autoupdate (#1650)
pre-commit-ci[bot] Oct 8, 2024
f303aa8
[pre-commit.ci] pre-commit autoupdate (#1655)
pre-commit-ci[bot] Oct 22, 2024
552b689
ci: bump pymatgen-analysis-defects and skip failed tests (#1659)
njzjz Nov 4, 2024
8629433
[pre-commit.ci] pre-commit autoupdate (#1658)
pre-commit-ci[bot] Nov 5, 2024
0f7e15c
docs: replace sphinx-rtd-theme with sphinx-book-theme (#1657)
njzjz-bot Nov 6, 2024
c2db0fa
[pre-commit.ci] pre-commit autoupdate (#1667)
pre-commit-ci[bot] Nov 15, 2024
b72b25d
chore: skip failed tests (#1670)
njzjz Nov 23, 2024
a5bf532
merge #1662 to devel (#1669)
njzjz Nov 23, 2024
eecac81
feat: support jax backend (#1671)
njzjz Nov 23, 2024
130add5
build(deps): bump codecov/codecov-action from 4 to 5 (#1673)
dependabot[bot] Nov 23, 2024
c4f05db
[pre-commit.ci] pre-commit autoupdate (#1674)
pre-commit-ci[bot] Nov 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .git_archival.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node: $Format:%H$
node-date: $Format:%cI$
describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.git_archival.txt export-subst
30 changes: 2 additions & 28 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,42 +6,16 @@ on:
- 'v*'

jobs:
conda-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: publish-to-conda
uses: felix5572/[email protected]
with:
subdir: 'conda'
anacondatoken: ${{ secrets.ANACONDA_TOKEN }}
platforms: 'noarch'
construct-and-publish:
runs-on: ubuntu-latest
needs: conda-publish
steps:
- uses: actions/checkout@master
- uses: s-weigand/setup-conda@v1
- run: conda install constructor jinja2 -y
- run: constructor ./conda
- name: Upload to release
uses: softprops/action-gh-release@master
if: startsWith(github.ref, 'refs/tags/')
with:
files: dpgen-*.sh
repository: ${{ env.GITHUB_REPOSITORY }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
release-to-pypi:
name: Release to pypi
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.x
architecture: x64
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,17 @@ jobs:
python-version: ["3.9", "3.12"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install uv
- name: Install dependencies
run: pip install -e .[test]
run: uv pip install --system -e .[test]
- name: Test
run: coverage run --source=./dpgen -m unittest -v && coverage report
- uses: codecov/codecov-action@v4
- uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
pass:
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
# there are many log files in tests
# TODO: seperate py files and log files
Expand All @@ -28,7 +28,7 @@ repos:

# Python
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.5
rev: v0.7.4
hooks:
- id: ruff
args: ["--fix"]
Expand Down
11 changes: 5 additions & 6 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@ build:
os: ubuntu-22.04
tools:
python: "3.10"

jobs:
post_create_environment:
- pip install uv
post_install:
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install -r doc/requirements.txt
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: doc/conf.py

# If using Sphinx, optionally build your docs in additional formats such as PDF
formats: all

# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: doc/requirements.txt
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ For detailed usage and parameters, read [DP-GEN documentation](https://docs.deep

* [Tutorials](https://tutorials.deepmodeling.com/en/latest/Tutorials/DP-GEN/): basic tutorials for DP-GEN.
* [Examples](examples): input files in [JSON](https://docs.python.org/3/library/json.html) format.
* [Publications](https://deepmodeling.com/blog/papers/dpgen/): Published research articles using DP-GEN.
* [Publications](https://blogs.deepmodeling.com/papers/dpgen/): Published research articles using DP-GEN.
* [User guide](https://docs.deepmodeling.com/projects/dpgen/en/latest/user-guide/): frequently asked questions listed in troubleshooting.

## License
Expand Down
5 changes: 0 additions & 5 deletions conda/conda_build_config.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions conda/construct.yaml

This file was deleted.

60 changes: 0 additions & 60 deletions conda/meta.yaml

This file was deleted.

12 changes: 9 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# ones.
# extensions = [
# 'recommonmark',
# "sphinx_rtd_theme",
# "sphinx_book_theme",
# 'myst_parser',
# 'sphinx_markdown_tables',
# 'sphinx.ext.autosummary'
Expand All @@ -39,7 +39,7 @@
extensions = [
"deepmodeling_sphinx",
"dargs.sphinx",
"sphinx_rtd_theme",
"sphinx_book_theme",
"myst_parser",
"sphinx.ext.autosummary",
"sphinx.ext.viewcode",
Expand Down Expand Up @@ -71,14 +71,20 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = "sphinx_rtd_theme"
html_theme = "sphinx_book_theme"
html_logo = "_static/logo.svg"

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]
html_css_files = ["css/custom.css"]
html_theme_options = {
"logo": {
"image_light": "_static/logo.svg",
"image_dark": "_static/logo-dark.svg",
}
}

autodoc_default_flags = ["members"]
autosummary_generate = True
Expand Down
2 changes: 1 addition & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ DPGEN's documentation
:glob:

Tutorials <https://tutorials.deepmodeling.com/en/latest/Tutorials/DP-GEN/>
Publications <https://deepmodeling.com/blog/papers/dpgen/>
Publications <https://blogs.deepmodeling.com/papers/dpgen/>

.. _user-guide:

Expand Down
2 changes: 1 addition & 1 deletion doc/init/init-bulk-jdata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dpgen init_bulk parameters
======================================

.. note::
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://deepmodeling.com/dpgui/input/dpgen-init-bulk>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://dpgui.deepmodeling.com/input/dpgen-init-bulk>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.

.. dargs::
:module: dpgen.data.arginfo
Expand Down
2 changes: 1 addition & 1 deletion doc/init/init-bulk-mdata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dpgen init_bulk machine parameters
==================================

.. note::
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://deepmodeling.com/dpgui/input/dpgen-init-bulk-machine>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://dpgui.deepmodeling.com/input/dpgen-init-bulk-machine>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.

.. dargs::
:module: dpgen.data.arginfo
Expand Down
2 changes: 1 addition & 1 deletion doc/init/init-reaction-jdata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dpgen init_reaction parameters
======================================

.. note::
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://deepmodeling.com/dpgui/input/dpgen-init-reaction>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://dpgui.deepmodeling.com/input/dpgen-init-reaction>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.

.. dargs::
:module: dpgen.data.arginfo
Expand Down
2 changes: 1 addition & 1 deletion doc/init/init-reaction-mdata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dpgen init_reaction machine parameters
======================================

.. note::
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://deepmodeling.com/dpgui/input/dpgen-init-reaction-machine>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://dpgui.deepmodeling.com/input/dpgen-init-reaction-machine>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.

.. dargs::
:module: dpgen.data.arginfo
Expand Down
2 changes: 1 addition & 1 deletion doc/init/init-surf-jdata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dpgen init_surf parameters
======================================

.. note::
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://deepmodeling.com/dpgui/input/dpgen-init-surf>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://dpgui.deepmodeling.com/input/dpgen-init-surf>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.

.. dargs::
:module: dpgen.data.arginfo
Expand Down
2 changes: 1 addition & 1 deletion doc/init/init-surf-mdata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dpgen init_surf machine parameters
==================================

.. note::
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://deepmodeling.com/dpgui/input/dpgen-init-surf-machine>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://dpgui.deepmodeling.com/input/dpgen-init-surf-machine>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.

.. dargs::
:module: dpgen.data.arginfo
Expand Down
2 changes: 1 addition & 1 deletion doc/overview/code-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Let's look at the home page of DP-GEN. https://github.com/deepmodeling/dpgen
- `tests` : unittest tools for developers.
- `examples`: templates for PARAM and MACHINE files for different software, versions and tasks.
For details of the parameters in PARAM, you can refer to `TASK parameters` chapters in this document.
If you are confused about how to set up a JSON file, you can also use [dpgui](https://mobile.deepmodeling.com/dpgui/)
If you are confused about how to set up a JSON file, you can also use [dpgui](https://mobile.dpgui.deepmodeling.com/)

Most of the code related to DP-GEN functions is in the `dpgen` directory. Open the `dpgen` directory, and we can see
````
Expand Down
6 changes: 3 additions & 3 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# https://github.com/sphinx-doc/sphinx/issues/11662
sphinx>=4.0.2,!=7.2.5
recommonmark
sphinx_rtd_theme
sphinx-book-theme
sphinx_markdown_tables
sphinx-argparse
sphinx-argparse<0.5.0
myst-parser
deepmodeling_sphinx>=0.1.1
deepmodeling-sphinx>=0.3.0
dargs>=0.3.1
numpydoc
.
2 changes: 1 addition & 1 deletion doc/run/mdata.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dpgen run machine parameters
============================
.. note::
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://deepmodeling.com/dpgui/input/dpgen-machine>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://dpgui.deepmodeling.com/input/dpgen-machine>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.

.. dargs::
:module: dpgen.generator.arginfo
Expand Down
2 changes: 1 addition & 1 deletion doc/run/param.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ dpgen run param parameters
=============================

.. note::
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://deepmodeling.com/dpgui/input/dpgen-run>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://dpgui.deepmodeling.com/input/dpgen-run>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.

.. dargs::
:module: dpgen.generator.arginfo
Expand Down
2 changes: 1 addition & 1 deletion doc/simplify/simplify-jdata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dpgen simplify parameters
=========================

.. note::
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://deepmodeling.com/dpgui/input/dpgen-simplify>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://dpgui.deepmodeling.com/input/dpgen-simplify>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.

.. dargs::
:module: dpgen.simplify.arginfo
Expand Down
2 changes: 1 addition & 1 deletion doc/simplify/simplify-mdata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dpgen simplify machine parameters
=================================

.. note::
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://deepmodeling.com/dpgui/input/dpgen-simplify-machine>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://dpgui.deepmodeling.com/input/dpgen-simplify-machine>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.

.. dargs::
:module: dpgen.simplify.arginfo
Expand Down
1 change: 0 additions & 1 deletion doc/simplify/simplify.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ Here is an example of `param.json` for QM7 dataset:
"limit_pref_pf": 0
},
"training": {
"set_prefix": "set",
"numb_steps": 10000,
"disp_file": "lcurve.out",
"disp_freq": 1000,
Expand Down
1 change: 1 addition & 0 deletions dpgen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# dlogf_formatter=logging.Formatter('%(asctime)s - %(name)s - [%(filename)s:%(funcName)s - %(lineno)d ] - %(levelname)s \n %(message)s')
dlogf.setFormatter(dlogf_formatter)
dlog.addHandler(dlogf)
logging.basicConfig(level=logging.WARNING)

__author__ = "Han Wang"
__copyright__ = "Copyright 2019"
Expand Down
Loading