Skip to content

Commit 9fd0c38

Browse files
rename property --> prop to avoid collision
1 parent 68d6d2c commit 9fd0c38

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

mp_api/client/mprester.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -656,9 +656,7 @@ def get_entries(
656656
entry_dict["energy_adjustments"] = []
657657

658658
if property_data:
659-
entry_dict["data"] = {
660-
property: doc[property] for property in property_data
661-
}
659+
entry_dict["data"] = {prop: doc[prop] for prop in property_data}
662660

663661
if conventional_unit_cell:
664662
entry_struct = Structure.from_dict(entry_dict["structure"])

0 commit comments

Comments
 (0)