From 84925584f663e7ece47bdcdec786c6b1db00c52e Mon Sep 17 00:00:00 2001 From: Matthew McDermott Date: Tue, 7 Sep 2021 17:43:53 -0700 Subject: [PATCH] bug fix to accomodate htmlify --- pymatgen/analysis/phase_diagram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymatgen/analysis/phase_diagram.py b/pymatgen/analysis/phase_diagram.py index c044f8ed9da..a1463331784 100644 --- a/pymatgen/analysis/phase_diagram.py +++ b/pymatgen/analysis/phase_diagram.py @@ -2379,7 +2379,7 @@ def _create_plotly_stable_labels(self, label_stable=True): if hasattr(entry, "original_entry"): comp = entry.original_entry.composition - formula = list(comp.reduced_formula) + formula = comp.reduced_formula text.append(htmlify(formula)) visible = True