code: def _pys2attributes(self, line):
          
  
          splitline = self._split_tidy(line)
  
          selection_data = map(ast.literal_eval, splitline[:5])
          selection = Selection(*selection_data)
  
          tab = int(splitline[5])
  
          attrs = {}
          for col, ele in enumerate(splitline[6:]):
              if not (col % 2):
                  # Odd entries are keys
                  key = ast.literal_eval(ele)
  
              else:
                  # Even cols are values
                  attrs[key] = ast.literal_eval(ele)
  
          self.code_array.cell_attributes.append((selection, tab, attrs))
docs: Updates attributes in code_array