Skip to content

Commit 045c2d2

Browse files
author
munrojm
committed
Linting
1 parent 1ae3b27 commit 045c2d2

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

mp_api/client/mprester.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,9 @@ def get_ion_reference_data(self) -> list[dict]:
945945
query={"project": "ion_ref_data"},
946946
fields=["identifier", "formula", "data"],
947947
paginate=True,
948-
).get("data") # type: ignore
948+
).get(
949+
"data"
950+
) # type: ignore
949951

950952
def get_ion_reference_data_for_chemsys(self, chemsys: str | list) -> list[dict]:
951953
"""Download aqueous ion reference data used in the construction of Pourbaix diagrams.
@@ -1224,10 +1226,8 @@ def get_bandstructure_by_material_id(
12241226
Returns:
12251227
bandstructure (Union[BandStructure, BandStructureSymmLine]): BandStructure or BandStructureSymmLine object
12261228
"""
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-
)
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
12311231
)
12321232

12331233
def get_dos_by_material_id(self, material_id: str):

0 commit comments

Comments
 (0)