def _clean_blocks(tmp_seq_blocks):
 seq_blocks = []
 for seq_block in tmp_seq_blocks:
  for line_name in seq_block:
   seq_block[line_name] = seq_block[line_name].replace('{', '').replace('}', '')
  seq_blocks.append(seq_block)
 return seq_blocks

def _clean_blocks ( tmp_seq_blocks ) : seq_blocks = [ ] for seq_block in tmp_seq_blocks : for line_name in seq_block : seq_block [ line_name ] = seq_block [ line_name ] . replace ( '{' , '' ) . replace ( '}' , '' ) seq_blocks . append ( seq_block ) return seq_blocks
removes curly braces from the given sequences .