materialsproject / crystaltoolkit

Crystal Toolkit is a framework for building web apps for materials science and is currently powering the new Materials Project website.
https://docs.crystaltoolkit.org
Other
154 stars 59 forks source link

Structure viewer bundles elements with different oxidation states into same legend label #338

Closed janosh closed 1 year ago

janosh commented 1 year ago

Ported here from this matsci.org post by @ardunn:

As an example, here is Ag10Te4Br3 (mp-568392). The Te2- and Te- ions are merged together in the 3D model legend and are not distinguishable

b7106553d697f8284465477d97401d2070f604f3

janosh commented 1 year ago

@ardunn Do you have opinions what a fix should look like? Split different oxi states into separate labels? Put same-element but different oxi states into single label but make it longer to fit?