Пример #1
0
    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)
Пример #2
0
    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)
Пример #3
0
 def finalize(self):
     self.logger.info('finalize bmi. Close logger.')
     self._bmi.finalize()
     closelogger(self.logger)