Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
utf committed Jul 18, 2024
1 parent 7d3e43b commit 593f962
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 36 deletions.
1 change: 0 additions & 1 deletion docs/about/license.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,3 @@ modify, prepare derivative works, incorporate into other computer
software, distribute, and sublicense such enhancements or derivative
works thereof, in binary and source code form.
```

4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
napoleon_use_ivar = True

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

mathjax3_config = {
"tex": {
Expand All @@ -92,7 +92,7 @@
"""
}
language = "en"
#html_extra_path = ["images/badge.svg"]
# html_extra_path = ["images/badge.svg"]
html_static_path = ["_static"]
html_css_files = ["custom.css", "github.css"]
suppress_warnings = ["etoc.toctree"]
Expand Down
4 changes: 2 additions & 2 deletions src/atomate2/amset/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import logging
import re
from pathlib import Path
from typing import TYPE_CHECKING, Any, Union
from typing import Any, Union

import numpy as np
from emmet.core.math import Matrix3D, Vector3D
Expand Down Expand Up @@ -144,7 +144,7 @@ def from_directory(
dir_name: Union[Path, str],
additional_fields: dict[str, Any] = None,
include_mesh: bool = False,
):
) -> "AmsetTaskDocument":
"""Create a task document from a directory containing VASP files.
Parameters
Expand Down
30 changes: 15 additions & 15 deletions src/atomate2/common/flows/defect.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,23 +228,23 @@ class FormationEnergyMaker(Maker, ABC):
[
{
'bulk_dir_name': 'computer1:/folder1',
'bulk_locpot': {...},
'bulk_uuid': '48fb6da7-dc2b-4dcb-b1c8-1203c0f72ce3',
'defect_dir_name': 'computer1:/folder2',
'defect_entry': {...},
'defect_locpot': {...},
'defect_uuid': 'e9af2725-d63c-49b8-a01f-391540211750'
"bulk_dir_name": "computer1:/folder1",
"bulk_locpot": {...},
"bulk_uuid": "48fb6da7-dc2b-4dcb-b1c8-1203c0f72ce3",
"defect_dir_name": "computer1:/folder2",
"defect_entry": {...},
"defect_locpot": {...},
"defect_uuid": "e9af2725-d63c-49b8-a01f-391540211750",
},
{
'bulk_dir_name': 'computer1:/folder3',
'bulk_locpot': {...},
'bulk_uuid': '48fb6da7-dc2b-4dcb-b1c8-1203c0f72ce3',
'defect_dir_name': 'computer1:/folder4',
'defect_entry': {...},
'defect_locpot': {...},
'defect_uuid': 'a1c31095-0494-4eed-9862-95311f80a993'
}
"bulk_dir_name": "computer1:/folder3",
"bulk_locpot": {...},
"bulk_uuid": "48fb6da7-dc2b-4dcb-b1c8-1203c0f72ce3",
"defect_dir_name": "computer1:/folder4",
"defect_entry": {...},
"defect_locpot": {...},
"defect_uuid": "a1c31095-0494-4eed-9862-95311f80a993",
},
]
"""
Expand Down
2 changes: 1 addition & 1 deletion src/atomate2/lobster/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -1319,7 +1319,7 @@ def _get_strong_bonds(
def read_saved_json(
filename: str, pymatgen_objs: bool = True, query: str = "structure"
) -> dict[str, Any]:
"""
r"""
Read the data from \*.json.gz files corresponding to query.
Uses ijson to parse specific keys(memory efficient)
Expand Down
30 changes: 15 additions & 15 deletions src/atomate2/vasp/flows/defect.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,23 +142,23 @@ class FormationEnergyMaker(defect_flows.FormationEnergyMaker):
[
{
'bulk_dir_name': 'computer1:/folder1',
'bulk_locpot': {...},
'bulk_uuid': '48fb6da7-dc2b-4dcb-b1c8-1203c0f72ce3',
'defect_dir_name': 'computer1:/folder2',
'defect_entry': {...},
'defect_locpot': {...},
'defect_uuid': 'e9af2725-d63c-49b8-a01f-391540211750'
"bulk_dir_name": "computer1:/folder1",
"bulk_locpot": {...},
"bulk_uuid": "48fb6da7-dc2b-4dcb-b1c8-1203c0f72ce3",
"defect_dir_name": "computer1:/folder2",
"defect_entry": {...},
"defect_locpot": {...},
"defect_uuid": "e9af2725-d63c-49b8-a01f-391540211750",
},
{
'bulk_dir_name': 'computer1:/folder3',
'bulk_locpot': {...},
'bulk_uuid': '48fb6da7-dc2b-4dcb-b1c8-1203c0f72ce3',
'defect_dir_name': 'computer1:/folder4',
'defect_entry': {...},
'defect_locpot': {...},
'defect_uuid': 'a1c31095-0494-4eed-9862-95311f80a993'
}
"bulk_dir_name": "computer1:/folder3",
"bulk_locpot": {...},
"bulk_uuid": "48fb6da7-dc2b-4dcb-b1c8-1203c0f72ce3",
"defect_dir_name": "computer1:/folder4",
"defect_entry": {...},
"defect_locpot": {...},
"defect_uuid": "a1c31095-0494-4eed-9862-95311f80a993",
},
]
"""
Expand Down

0 comments on commit 593f962

Please sign in to comment.