@@ -648,17 +648,15 @@ def _get_ensemble_defaults(structure: Structure, ensemble: str) -> dict[str, Any
648
648
supported = tuple (defaults )
649
649
raise ValueError (f"Expect { ensemble = } to be one of { supported } " ) from err
650
650
651
+
651
652
@dataclass
652
653
class LobsterTightStaticSetGenerator (LobsterSet ):
653
-
654
654
"""
655
655
Class to generate well-converged statics for LOBSTER analysis.
656
656
657
-
658
657
Parameters
659
658
----------
660
-
661
- structure : Structure
659
+ structure : Structure
662
660
input structure.
663
661
isym : int
664
662
ISYM entry for INCAR, only isym=-1 and isym=0 are allowed
@@ -678,10 +676,11 @@ class LobsterTightStaticSetGenerator(LobsterSet):
678
676
e.g. {"Fe": "Fe_pv", "O": "O"}; if not supplied, a standard basis is used.
679
677
**kwargs: Other kwargs supported by VaspInputSet.
680
678
"""
681
- reciprocal_density : int = 400
679
+
680
+ reciprocal_density : int = 400
682
681
683
682
@property
684
- def incar_updates (self ) -> dict [str ,Any ]:
683
+ def incar_updates (self ) -> dict [str , Any ]:
685
684
"""Get updates to the INCAR for a molecular dynamics job.
686
685
687
686
Returns
@@ -690,14 +689,14 @@ def incar_updates(self) -> dict[str,Any]:
690
689
A dictionary of updates to apply.
691
690
"""
692
691
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