Skip to content

Commit 8b0a080

Browse files
precommit
1 parent 2a6f8cf commit 8b0a080

File tree

2 files changed

+16
-18
lines changed

2 files changed

+16
-18
lines changed

src/atomate2/vasp/flows/mp.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
MPMetaGGAStaticMaker,
2626
MPPreRelaxMaker,
2727
)
28-
from atomate2.vasp.sets.mp import MPGGAStaticSetGenerator
2928

3029
logger = logging.getLogger(__name__)
3130

src/atomate2/vasp/sets/core.py

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -648,17 +648,15 @@ def _get_ensemble_defaults(structure: Structure, ensemble: str) -> dict[str, Any
648648
supported = tuple(defaults)
649649
raise ValueError(f"Expect {ensemble=} to be one of {supported}") from err
650650

651+
651652
@dataclass
652653
class LobsterTightStaticSetGenerator(LobsterSet):
653-
654654
"""
655655
Class to generate well-converged statics for LOBSTER analysis.
656656
657-
658657
Parameters
659658
----------
660-
661-
structure : Structure
659+
structure : Structure
662660
input structure.
663661
isym : int
664662
ISYM entry for INCAR, only isym=-1 and isym=0 are allowed
@@ -678,10 +676,11 @@ class LobsterTightStaticSetGenerator(LobsterSet):
678676
e.g. {"Fe": "Fe_pv", "O": "O"}; if not supplied, a standard basis is used.
679677
**kwargs: Other kwargs supported by VaspInputSet.
680678
"""
681-
reciprocal_density : int = 400
679+
680+
reciprocal_density: int = 400
682681

683682
@property
684-
def incar_updates(self) -> dict[str,Any]:
683+
def incar_updates(self) -> dict[str, Any]:
685684
"""Get updates to the INCAR for a molecular dynamics job.
686685
687686
Returns
@@ -690,14 +689,14 @@ def incar_updates(self) -> dict[str,Any]:
690689
A dictionary of updates to apply.
691690
"""
692691
base_incar_updates = super().incar_updates
693-
base_incar_updates.update(**{
694-
"EDIFF": 1e-7,
695-
"LAECHG": False,
696-
"LREAL": False,
697-
"LVTOT": False,
698-
"ALGO": "Normal",
699-
"LCHARG": False,
700-
"LWAVE": True,
701-
"ISYM": 0,
702-
})
703-
return base_incar_updates
692+
base_incar_updates.update(
693+
EDIFF=1e-7,
694+
LAECHG=False,
695+
LREAL=False,
696+
LVTOT=False,
697+
ALGO="Normal",
698+
LCHARG=False,
699+
LWAVE=True,
700+
ISYM=0,
701+
)
702+
return base_incar_updates

0 commit comments

Comments
 (0)