def _array_make_sure_table_exists(self, array_name, index, name_seq):
t = self[array_name][index]<EOL>for key in name_seq[:-<NUM_LIT:1>]:<EOL><INDENT>t = t[key]<EOL><DEDENT>name = name_seq[-<NUM_LIT:1>]<EOL>if name not in t:<EOL><INDENT>new_table = element_factory.create_table({})<EOL>self.append_elements([element_factory.create_table_header_element((array_name,) + name_seq), new_table])<EOL>return new_table<EOL><DEDENT>
Makes sure the table with the full name comprising of name_seq exists.