Skip to content

Commit

Permalink
add explanation for lammps template (#163)
Browse files Browse the repository at this point in the history
Co-authored-by: Han Wang <wang_han@iapcm.ac.cn>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people committed Aug 21, 2023
1 parent 417e1b9 commit 0c7aac7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]

Expand Down
2 changes: 1 addition & 1 deletion dpgen2/conf/file_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def generate_mixed(
)
assert "deepmd/npy/mixed" == self.fmt
ms = dpdata.MultiSystems(type_map=type_map)
ms.from_deepmd_npy_mixed(self.files[0], fmt="deepmd/npy/mixed", labeled=False)
ms.from_deepmd_npy_mixed(self.files[0], fmt="deepmd/npy/mixed", labeled=False) # type: ignore
return ms

@staticmethod
Expand Down
2 changes: 1 addition & 1 deletion dpgen2/exploration/task/make_task_group_from_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def customized_lmp_template_task_group_args():
def variant_task_group():
doc = "the type of the task group"
doc_lmp_md = "Lammps MD tasks. DPGEN will generate the lammps input script"
doc_lmp_template = "Lammps MD tasks defined by templates. User provide lammps (and plumed) template for lammps tasks. The variables in templates are revised by the revisions key."
doc_lmp_template = "Lammps MD tasks defined by templates. User provide lammps (and plumed) template for lammps tasks. The variables in templates are revised by the revisions key. Notice that the lines for pair style, dump and plumed are reserved for the revision of dpgen2, and the users should not write these lines by themselves. Rather, users notify dpgen2 the poistion of the line for `pair_style` by writting 'pair_style deepmd', the line for `dump` by writting 'dump dpgen_dump'. If plumed is used, the line for `fix plumed` shouldbe written exactly as 'fix dpgen_plm'. "
doc_customized_lmp_template = "Lammps MD tasks defined by user customized shell commands and templates. User provided shell script generates a series of folders, and each folder contains a lammps template task group. "
return Variant(
"type",
Expand Down

0 comments on commit 0c7aac7

Please sign in to comment.