Skip to content

Commit 59e77e7

Browse files
Chiu PeterChiu Peter
authored andcommitted
modify to robocrys data in option
1 parent 5cf184e commit 59e77e7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

crystal_toolkit/components/pourbaix.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,10 @@ def update_heatmap_choices(entries, mat_detials):
639639
# get material details
640640
mpid_wo_function = "mp-" + mpid.split("-")[1]
641641
if mpid_wo_function in mat_detials:
642+
robo = mat_detials[mpid_wo_function]["robo"]
643+
644+
label = f"{formula} ({mpid}): {robo}"
645+
"""
642646
# den = round(mat_detials[mpid_wo_function]["density"], 3)
643647
sym = mat_detials[mpid_wo_function]["symmetry_symbol"]
644648
eah = round(
@@ -651,6 +655,7 @@ def update_heatmap_choices(entries, mat_detials):
651655
# f"Density: {den};"
652656
f" Energy above hull: {eah}"
653657
)
658+
"""
654659

655660
option = {"label": label, "value": mpid}
656661
else:

0 commit comments

Comments
 (0)