Skip to content

Commit 593f962

Browse files
author
utf
committed
Fix docs
1 parent 7d3e43b commit 593f962

File tree

6 files changed

+35
-36
lines changed

6 files changed

+35
-36
lines changed

docs/about/license.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,3 @@ modify, prepare derivative works, incorporate into other computer
5050
software, distribute, and sublicense such enhancements or derivative
5151
works thereof, in binary and source code form.
5252
```
53-

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
napoleon_use_ivar = True
7373

7474
# The suffix(es) of source filenames.
75-
source_suffix = {'.rst': 'restructuredtext', '.md': 'restructuredtext'}
75+
source_suffix = {".rst": "restructuredtext", ".md": "restructuredtext"}
7676

7777
mathjax3_config = {
7878
"tex": {
@@ -92,7 +92,7 @@
9292
"""
9393
}
9494
language = "en"
95-
#html_extra_path = ["images/badge.svg"]
95+
# html_extra_path = ["images/badge.svg"]
9696
html_static_path = ["_static"]
9797
html_css_files = ["custom.css", "github.css"]
9898
suppress_warnings = ["etoc.toctree"]

src/atomate2/amset/schemas.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import logging
44
import re
55
from pathlib import Path
6-
from typing import TYPE_CHECKING, Any, Union
6+
from typing import Any, Union
77

88
import numpy as np
99
from emmet.core.math import Matrix3D, Vector3D
@@ -144,7 +144,7 @@ def from_directory(
144144
dir_name: Union[Path, str],
145145
additional_fields: dict[str, Any] = None,
146146
include_mesh: bool = False,
147-
):
147+
) -> "AmsetTaskDocument":
148148
"""Create a task document from a directory containing VASP files.
149149
150150
Parameters

src/atomate2/common/flows/defect.py

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -228,23 +228,23 @@ class FormationEnergyMaker(Maker, ABC):
228228
229229
[
230230
{
231-
'bulk_dir_name': 'computer1:/folder1',
232-
'bulk_locpot': {...},
233-
'bulk_uuid': '48fb6da7-dc2b-4dcb-b1c8-1203c0f72ce3',
234-
'defect_dir_name': 'computer1:/folder2',
235-
'defect_entry': {...},
236-
'defect_locpot': {...},
237-
'defect_uuid': 'e9af2725-d63c-49b8-a01f-391540211750'
231+
"bulk_dir_name": "computer1:/folder1",
232+
"bulk_locpot": {...},
233+
"bulk_uuid": "48fb6da7-dc2b-4dcb-b1c8-1203c0f72ce3",
234+
"defect_dir_name": "computer1:/folder2",
235+
"defect_entry": {...},
236+
"defect_locpot": {...},
237+
"defect_uuid": "e9af2725-d63c-49b8-a01f-391540211750",
238238
},
239239
{
240-
'bulk_dir_name': 'computer1:/folder3',
241-
'bulk_locpot': {...},
242-
'bulk_uuid': '48fb6da7-dc2b-4dcb-b1c8-1203c0f72ce3',
243-
'defect_dir_name': 'computer1:/folder4',
244-
'defect_entry': {...},
245-
'defect_locpot': {...},
246-
'defect_uuid': 'a1c31095-0494-4eed-9862-95311f80a993'
247-
}
240+
"bulk_dir_name": "computer1:/folder3",
241+
"bulk_locpot": {...},
242+
"bulk_uuid": "48fb6da7-dc2b-4dcb-b1c8-1203c0f72ce3",
243+
"defect_dir_name": "computer1:/folder4",
244+
"defect_entry": {...},
245+
"defect_locpot": {...},
246+
"defect_uuid": "a1c31095-0494-4eed-9862-95311f80a993",
247+
},
248248
]
249249
250250
"""

src/atomate2/lobster/schemas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,7 @@ def _get_strong_bonds(
13191319
def read_saved_json(
13201320
filename: str, pymatgen_objs: bool = True, query: str = "structure"
13211321
) -> dict[str, Any]:
1322-
"""
1322+
r"""
13231323
Read the data from \*.json.gz files corresponding to query.
13241324
13251325
Uses ijson to parse specific keys(memory efficient)

src/atomate2/vasp/flows/defect.py

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -142,23 +142,23 @@ class FormationEnergyMaker(defect_flows.FormationEnergyMaker):
142142
143143
[
144144
{
145-
'bulk_dir_name': 'computer1:/folder1',
146-
'bulk_locpot': {...},
147-
'bulk_uuid': '48fb6da7-dc2b-4dcb-b1c8-1203c0f72ce3',
148-
'defect_dir_name': 'computer1:/folder2',
149-
'defect_entry': {...},
150-
'defect_locpot': {...},
151-
'defect_uuid': 'e9af2725-d63c-49b8-a01f-391540211750'
145+
"bulk_dir_name": "computer1:/folder1",
146+
"bulk_locpot": {...},
147+
"bulk_uuid": "48fb6da7-dc2b-4dcb-b1c8-1203c0f72ce3",
148+
"defect_dir_name": "computer1:/folder2",
149+
"defect_entry": {...},
150+
"defect_locpot": {...},
151+
"defect_uuid": "e9af2725-d63c-49b8-a01f-391540211750",
152152
},
153153
{
154-
'bulk_dir_name': 'computer1:/folder3',
155-
'bulk_locpot': {...},
156-
'bulk_uuid': '48fb6da7-dc2b-4dcb-b1c8-1203c0f72ce3',
157-
'defect_dir_name': 'computer1:/folder4',
158-
'defect_entry': {...},
159-
'defect_locpot': {...},
160-
'defect_uuid': 'a1c31095-0494-4eed-9862-95311f80a993'
161-
}
154+
"bulk_dir_name": "computer1:/folder3",
155+
"bulk_locpot": {...},
156+
"bulk_uuid": "48fb6da7-dc2b-4dcb-b1c8-1203c0f72ce3",
157+
"defect_dir_name": "computer1:/folder4",
158+
"defect_entry": {...},
159+
"defect_locpot": {...},
160+
"defect_uuid": "a1c31095-0494-4eed-9862-95311f80a993",
161+
},
162162
]
163163
164164
"""

0 commit comments

Comments
 (0)