Skip to content

Commit

Permalink
dual dh shape check fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bnb32 committed Mar 4, 2024
1 parent 863ae42 commit f140a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sup3r/preprocessing/data_handling/dual_data_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def _run_pair_checks(self, hr_handler, lr_handler):
msg = (f'hr_handler.sample_shape {hr_handler.sample_shape} and '
f'lr_handler.sample_shape {lr_handler.sample_shape} are '
f'incompatible. Must be {hr_shape} and {lr_shape}.')
assert list(*lr_handler.sample_shape) == lr_shape, msg
assert list(lr_handler.sample_shape) == lr_shape, msg

if hr_handler.data is not None and lr_handler.data is not None:
hr_shape = self.hr_data.shape
Expand Down

0 comments on commit f140a94

Please sign in to comment.