-
Notifications
You must be signed in to change notification settings - Fork 159
docs: fix spelling typos in system guides #966
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,7 +6,7 @@ This section gives some examples on how dpdata works. Firstly one needs to impor | |
| import dpdata | ||
| ``` | ||
|
|
||
| The typicall workflow of `dpdata` is | ||
| The typical workflow of `dpdata` is | ||
|
|
||
| 1. Load data from vasp or lammps or deepmd-kit data files. | ||
| 1. Manipulate data | ||
|
|
@@ -108,7 +108,7 @@ dpdata.System("./POSCAR").replicate( | |
| ) | ||
| ``` | ||
|
|
||
| tuple(1,2,3) means don't copy atom configuration in x direction, make 2 copys in y direction, make 3 copys in z direction. | ||
| tuple(1,2,3) means don't copy atom configuration in x direction, make 2 copies in y direction, make 3 copies in z direction. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🌐 Web query:
💡 Result: No. Correct ways to represent a tuple containing
Sources: Citations:
Fix tuple notation in prose to avoid misleading users.
🤖 Prompt for AI Agents |
||
|
|
||
| ### perturb | ||
|
|
||
|
|
@@ -126,7 +126,7 @@ print(perturbed_system.data) | |
|
|
||
| ### replace | ||
|
|
||
| By the following example, Random 8 Hf atoms in the system will be replaced by Zr atoms with the atom postion unchanged. | ||
| By the following example, Random 8 Hf atoms in the system will be replaced by Zr atoms with the atom position unchanged. | ||
|
|
||
| ```python | ||
| s = dpdata.System("tests/poscars/POSCAR.P42nmc", fmt="vasp/poscar") | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix subject-verb agreement in the opening sentence.
Use “may contain” instead of “may contains”.
🤖 Prompt for AI Agents