Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ppinchuk committed Apr 29, 2024
1 parent 6c938d9 commit 9252c3d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions reV/supply_curve/exclusions.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,11 +396,11 @@ def _check_mask_type(self):

if mask is None:
msg = ('Exactly one approach must be specified to create the '
'inclusion mask for layer {!r}! Please specify one of: '
'`exclude_values`, `exclude_range`, `include_values`, '
'`include_range`, `include_weights`, '
'`force_include_values`, or `force_include_range`.'
.format(self.name))
'inclusion mask for layer {!r}! Please specify one of: '
'`exclude_values`, `exclude_range`, `include_values`, '
'`include_range`, `include_weights`, '
'`force_include_values`, or `force_include_range`.'
.format(self.name))
logger.error(msg)
raise ExclusionLayerError(msg)

Expand Down Expand Up @@ -1014,7 +1014,6 @@ def _generate_mask(self, *ds_slice, check_layers=False):
ds_slice, sub_slice = self._parse_ds_slice(ds_slice)

if self.layers:
print("Generating mask from layers")
force_include = []
for layer in self.layers:
if layer.force_include:
Expand Down

0 comments on commit 9252c3d

Please sign in to comment.