Skip to content

Commit 10912c6

Browse files
authored
Merge pull request #537 from materialsproject/alphaID
add _mpid for alhpaID pourbaix
2 parents 0cdacad + 1e91dd8 commit 10912c6

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

crystal_toolkit/components/pourbaix.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -640,10 +640,9 @@ def update_heatmap_choices(entries, mat_detials, filter_solids):
640640
if mpid_wo_function in mat_detials:
641641
structure_text = mat_detials[mpid_wo_function]["structure_text"]
642642
crystal_system = mat_detials[mpid_wo_function]["crystal_system"]
643+
_mpid = mat_detials[mpid_wo_function]["_mpid"]
643644

644-
label_text_list = [
645-
f"{formula} ({mpid_wo_function}, {functional}) \n"
646-
]
645+
label_text_list = [f"{formula} ({_mpid}, {functional}) \n"]
647646
if structure_text:
648647
label_text_list.append(
649648
" - Prototype: " + structure_text + "\n"

0 commit comments

Comments
 (0)