simulariumio/md/md_converter.py
def _get_type_name(raw_type_name: str, input_data: MdData) -> float:
        """
        Get the type_name to use for the particle with the given raw type_name
        """
        if raw_type_name in input_data.display_data:
            return input_data.display_data[raw_type_name].name
        element_type = guess_atom_element(raw_type_name)
        if element_type in input_data.display_data:
            return input_data.display_data[element_type].name + "#" + raw_type_name
        return element_type + "#" + raw_type_name

        Get the type_name to use for the particle with the given raw type_name
        
Get the type_name to use for the particle with the given raw type_name
Get the type_name to use for the particle with the given raw type_name
def _get_type_name(raw_type_name: str, input_data: MdData) -> float:
        if raw_type_name in input_data.display_data:
            return input_data.display_data[raw_type_name].name
        element_type = guess_atom_element(raw_type_name)
        if element_type in input_data.display_data:
            return input_data.display_data[element_type].name + "#" + raw_type_name
        return element_type + "#" + raw_type_name
def _get_type_name ( raw_type_name : str , input_data : MdData ) -> float : if raw_type_name in input_data . display_data : return input_data . display_data [ raw_type_name ] . name element_type = guess_atom_element ( raw_type_name ) if element_type in input_data . display_data : return input_data . display_data [ element_type ] . name + "#" + raw_type_name return element_type + "#" + raw_type_name
Get the type_name to use for the particle with the given raw type_name
Get the type_name to use for the particle with the given raw type_name
"""
        Get the type_name to use for the particle with the given raw type_name
        """
raw_type_name
str
input_data
MdData