@@ -131,7 +131,7 @@ def __init__(
131131 headers : dict | None = None ,
132132 mute_progress_bars : bool = _MAPI_SETTINGS .MUTE_PROGRESS_BARS ,
133133 ):
134- """Initalise the MPRester.
134+ """Initialize the MPRester.
135135
136136 Arguments:
137137 api_key (str): A String API key for accessing the MaterialsProject
@@ -945,9 +945,7 @@ def get_ion_reference_data(self) -> list[dict]:
945945 query = {"project" : "ion_ref_data" },
946946 fields = ["identifier" , "formula" , "data" ],
947947 paginate = True ,
948- ).get (
949- "data"
950- ) # type: ignore
948+ ).get ("data" ) # type: ignore
951949
952950 def get_ion_reference_data_for_chemsys (self , chemsys : str | list ) -> list [dict ]:
953951 """Download aqueous ion reference data used in the construction of Pourbaix diagrams.
@@ -1226,8 +1224,10 @@ def get_bandstructure_by_material_id(
12261224 Returns:
12271225 bandstructure (Union[BandStructure, BandStructureSymmLine]): BandStructure or BandStructureSymmLine object
12281226 """
1229- return self .electronic_structure_bandstructure .get_bandstructure_from_material_id ( # type: ignore
1230- material_id = material_id , path_type = path_type , line_mode = line_mode
1227+ return (
1228+ self .electronic_structure_bandstructure .get_bandstructure_from_material_id ( # type: ignore
1229+ material_id = material_id , path_type = path_type , line_mode = line_mode
1230+ )
12311231 )
12321232
12331233 def get_dos_by_material_id (self , material_id : str ):
0 commit comments