def get_or_create_column(self, path, format): (table_path, col_name) = split_path(path) if table_path not in self._nodes: self._nodes[table_path] = Table(self._h5f, table_path) return self._nodes[table_path].column(col_name, format)
def __init__(self, h5f, full_path, format=ObjectAtom()): self._h5f = h5f self.full_path = full_path (path, name) = split_path(self.full_path) super(Array, self).__init__(path, name, format)