Skip to content

Commit

Permalink
ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
jinyan1214 committed Nov 13, 2024
1 parent d1b9aa4 commit 74a8e7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pelicun/assessment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 1 addition & 2 deletions pelicun/model/damage_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 74a8e7d

Please sign in to comment.