parameters: (name)
docstring: Returns the Klampt types possibly represented by the given filename's
      extension.
docstring_summary: Returns the Klampt types possibly represented by the given filename's
      extension.
docstring_tokens: Returns the Klampt types possibly represented by the given filename s extension .
function: def filename_to_types(name):
      """Returns the Klampt types possibly represented by the given filename's
      extension.
      """
      fileName, fileExtension = os.path.splitext(name)
      fileExtension = fileExtension.lower()
      if fileExtension in EXTENSION_TO_TYPES:
          return EXTENSION_TO_TYPES[fileExtension]
      else:
          raise RuntimeError("Cannot determine type of object from filename "+name)
function_tokens: def filename_to_types ( name ) : fileName , fileExtension = os . path . splitext ( name ) fileExtension = fileExtension . lower ( ) if fileExtension in EXTENSION_TO_TYPES : return EXTENSION_TO_TYPES [ fileExtension ] else : raise RuntimeError ( "Cannot determine type of object from filename " + name )