def finalize(self): """Finalizes the model, i.e. shuts down all operations and closes output files. """ self.logger.info('finalize bmi. Close logger.') self._bmi.finalize() closelogger(self.logger)
def finalize(self): """Finalizes the model. shuts down all operations and closes output files. """ self.logger.info('finalize models bmi. Close loggers.') for mod in self.bmimodels: self.bmimodels[mod].finalize() closelogger(self.logger) closelogger(self.wb_logger)
def finalize(self): self.logger.info('finalize bmi. Close logger.') self._bmi.finalize() closelogger(self.logger)