Store model parameters in the database

def store_config(self, configuration):
        """ Store model parameters in the database """
        run_name = self.model_config.run_name

        self.db.configs.delete_many({'run_name': self.model_config.run_name})

        configuration = configuration.copy()
        configuration['run_name'] = run_name

        self.db.configs.insert_one(configuration)