Skip to content

Commit

Permalink
Correcting variable name in unit testing cases
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdiwahada committed Oct 30, 2024
1 parent 1d18234 commit a9e8ca4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/antares/tsgen/ts_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,6 @@ def _check_cluster(cluster: ThermalCluster) -> None:
def _check_link_capacity(link_capacity: LinkCapacity) -> None:
if link_capacity.nominal_capacity <= 0:
raise ValueError(f" {link_capacity.nominal_capacity}.")
if len(link_capacity.modulation_direct) < 0:
raise ValueError(f" {link_capacity.modulation_direct}.")
if len(link_capacity.modulation_indirect) < 0:
raise ValueError(f" {link_capacity.modulation_indirect}.")

_check_outage_gen_params(link_capacity.outage_gen_params)

Expand Down

0 comments on commit a9e8ca4

Please sign in to comment.