original_docstring: Convert xml element attributes to a dictionnary
  
      Parameters
      ----------
      el
  
      Returns
      -------
  
      
docstring: Convert xml element attributes to a dictionnary
  Parameters
  
  el
  
  Returns
docstring_tokens: Convert xml element attributes to a dictionnary Parameters el Returns
code: def elt_to_dict(el):
      """Convert xml element attributes to a dictionnary
  
      Parameters
      ----------
      el
  
      Returns
      -------
  
      """
      param = dict([])
  
      # name=el.tag, title=title, type=param_type, value=param_value, values=[param_value],
      #              visible=visible, removable=removable, readonly=readonly, show_pb=show_pb)
      param.update(dict(name=el.tag))
      param_type = el.get('type')
      param.update(dict(type=param_type))
  
      title = el.get('title')
      if title == 'None':
          title = el.tag
      param.update(dict(title=title))
  
      if 'visible' not in el.attrib.keys():
          visible = True
      else:
          visible = bool(int(el.get('visible')))
      param.update(dict(visible=visible))
  
      if 'removable' not in el.attrib.keys():
          removable = False
      else:
          removable = bool(int(el.get('removable')))
      param.update(dict(removable=removable))
  
      if 'readonly' not in el.attrib.keys():
          readonly = False
      else:
          readonly = bool(int(el.get('readonly')))
      param.update(dict(readonly=readonly))
  
      if 'show_pb' in el.attrib.keys():
          show_pb = bool(int(el.get('show_pb')))
      else:
          show_pb = False
      param.update(dict(show_pb=show_pb))
  
      if 'filetype' in el.attrib.keys():
          filetype = bool(int(el.get('filetype')))
          param.update(dict(filetype=filetype))
  
      if 'detlist' in el.attrib.keys():
          detlist = eval(el.get('detlist'))
          param.update(dict(detlist=detlist))
  
      if 'movelist' in el.attrib.keys():
          movelist = eval(el.get('movelist'))
          param.update(dict(movelist=movelist))
  
      if 'addList' in el.attrib.keys():
          addList = eval(el.get('addList'))
          param.update(dict(addList=addList))
  
      if 'values' in el.attrib.keys():
          values = eval(el.get('values'))
          param.update(dict(values=values))
  
      if 'limits' in el.attrib.keys():
          limits = eval(el.get('limits'))
          param.update(dict(limits=limits))
  
      return param
code_tokens: def elt_to_dict ( el ) : param = dict ( [ ] ) param . update ( dict ( name = el . tag ) ) param_type = el . get ( 'type' ) param . update ( dict ( type = param_type ) ) title = el . get ( 'title' ) if title == 'None' : title = el . tag param . update ( dict ( title = title ) ) if 'visible' not in el . attrib . keys ( ) : visible = True else : visible = bool ( int ( el . get ( 'visible' ) ) ) param . update ( dict ( visible = visible ) ) if 'removable' not in el . attrib . keys ( ) : removable = False else : removable = bool ( int ( el . get ( 'removable' ) ) ) param . update ( dict ( removable = removable ) ) if 'readonly' not in el . attrib . keys ( ) : readonly = False else : readonly = bool ( int ( el . get ( 'readonly' ) ) ) param . update ( dict ( readonly = readonly ) ) if 'show_pb' in el . attrib . keys ( ) : show_pb = bool ( int ( el . get ( 'show_pb' ) ) ) else : show_pb = False param . update ( dict ( show_pb = show_pb ) ) if 'filetype' in el . attrib . keys ( ) : filetype = bool ( int ( el . get ( 'filetype' ) ) ) param . update ( dict ( filetype = filetype ) ) if 'detlist' in el . attrib . keys ( ) : detlist = eval ( el . get ( 'detlist' ) ) param . update ( dict ( detlist = detlist ) ) if 'movelist' in el . attrib . keys ( ) : movelist = eval ( el . get ( 'movelist' ) ) param . update ( dict ( movelist = movelist ) ) if 'addList' in el . attrib . keys ( ) : addList = eval ( el . get ( 'addList' ) ) param . update ( dict ( addList = addList ) ) if 'values' in el . attrib . keys ( ) : values = eval ( el . get ( 'values' ) ) param . update ( dict ( values = values ) ) if 'limits' in el . attrib . keys ( ) : limits = eval ( el . get ( 'limits' ) ) param . update ( dict ( limits = limits ) ) return param
short_docstring: Convert xml element attributes to a dictionnary
  Parameters
short_docstring_tokens: Convert xml element attributes to a dictionnary Parameters
comment: """Convert xml element attributes to a dictionnary
  
      Parameters
      ----------
      el
  
      Returns
      -------
  
      """$SEP$# name=el.tag, title=title, type=param_type, value=param_value, values=[param_value],$SEP$#              visible=visible, removable=removable, readonly=readonly, show_pb=show_pb)