simulariumio/md/md_converter.py
def _get_element_hex_color(element_type: str, jmol_colors: pd.DataFrame) -> str:
        """
        Get the standard Jmol hex color for the atomic element type
        """
        element_df = jmol_colors.loc[jmol_colors["atom"] == element_type.title()]
        return "#" + str(element_df.Hex.values[0]) if not element_df.empty else ""

        Get the standard Jmol hex color for the atomic element type
        
Get the standard Jmol hex color for the atomic element type
Get the standard Jmol hex color for the atomic element type
def _get_element_hex_color(element_type: str, jmol_colors: pd.DataFrame) -> str:
        element_df = jmol_colors.loc[jmol_colors["atom"] == element_type.title()]
        return "#" + str(element_df.Hex.values[0]) if not element_df.empty else ""
def _get_element_hex_color ( element_type : str , jmol_colors : pd . DataFrame ) -> str : element_df = jmol_colors . loc [ jmol_colors [ "atom" ] == element_type . title ( ) ] return "#" + str ( element_df . Hex . values [ 0 ] ) if not element_df . empty else ""
Get the standard Jmol hex color for the atomic element type
Get the standard Jmol hex color for the atomic element type
"""
        Get the standard Jmol hex color for the atomic element type
        """
element_type
str
jmol_colors
pd.DataFrame