def _h5preserve_update(self): """ Support for h5preserve on demand use """ for key, val in self.items(): # We don't update Solutions as we want to compare old to new # self._solutions[key] = wrap_on_demand(self, key, val) wrap_on_demand(self, key, val)
def _h5preserve_update(self): wrap_on_demand(self, "dataset", self._data)
def __setitem__(self, key, val): self._solutions[key] = wrap_on_demand(self, key, val)
def _h5preserve_update(self): """ Support for h5preserve on demand use """ for key, val in self.items(): self._solutions[key] = wrap_on_demand(self, key, val)