File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010from mp_api .client import __file__ as root_dir
1111
12- DEFAULT_THERMOTYPE = ThermoType ("GGA_GGA+U_R2SCAN" )
13- DEFAULT_THERMOTYPE_CRITERIA = {"thermo_types" : [DEFAULT_THERMOTYPE .value ]}
12+ DEFAULT_THERMOTYPE : ThermoType = ThermoType ("GGA_GGA+U_R2SCAN" )
13+ DEFAULT_THERMOTYPE_CRITERIA : dict [str , list [str ]] = {
14+ "thermo_types" : [DEFAULT_THERMOTYPE .value ]
15+ }
1416
1517PMG_SETTINGS = _load_pmg_settings ()
1618_NUM_PARALLEL_REQUESTS = min (PMG_SETTINGS .get ("MPRESTER_NUM_PARALLEL_REQUESTS" , 4 ), 4 )
Original file line number Diff line number Diff line change @@ -1590,7 +1590,7 @@ def _get_cohesive_energy(
15901590 def get_stability (
15911591 self ,
15921592 entries : list [ComputedEntry | ComputedStructureEntry | PDEntry ],
1593- thermo_type : str | ThermoType = DEFAULT_THERMOTYPE ,
1593+ thermo_type : ThermoType | str = DEFAULT_THERMOTYPE ,
15941594 ) -> list [dict [str , Any ]] | None :
15951595 """Get the energy above hull of a list of entries.
15961596
You can’t perform that action at this time.
0 commit comments