From 74a8e7d3348e9e7d88130091d22e6496943d9c59 Mon Sep 17 00:00:00 2001 From: jinyan1214 Date: Tue, 12 Nov 2024 21:27:49 -0800 Subject: [PATCH] ruff format --- pelicun/assessment.py | 2 +- pelicun/model/damage_model.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pelicun/assessment.py b/pelicun/assessment.py index 864760a4..5acba75f 100644 --- a/pelicun/assessment.py +++ b/pelicun/assessment.py @@ -1227,7 +1227,7 @@ def calculate_damage( # noqa: C901 f'Prescribed Damage Process not recognized: ' f'`{damage_process_approach}`.' ) - + # calculate damages self.damage.calculate( dmg_process=dmg_process, diff --git a/pelicun/model/damage_model.py b/pelicun/model/damage_model.py index 0fc47c3b..14898dbb 100644 --- a/pelicun/model/damage_model.py +++ b/pelicun/model/damage_model.py @@ -851,8 +851,7 @@ def obtain_ds_sample( # each component limit state. The latter is primarily needed to # handle limit states with multiple, mutually exclusive DS options capacity_sample, lsds_sample = self._generate_dmg_sample( - sample_size, performance_group, scaling_specification, - demand_dict + sample_size, performance_group, scaling_specification, demand_dict ) # Evaluate the Damage State of each Component Block