Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 27, 2024
1 parent f3ffd21 commit 4fe476b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flint/coadd/linmos.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ def generate_linmos_parameter_set(
logger.info(f"{len(img_str)} unique images from {len(images)} input collection. ")
img_list: str = "[" + ",".join(img_str) + "]"

assert len(set(img_str)) == len(
images
assert (
len(set(img_str)) == len(images)
), "Some images were dropped from the linmos image string. Something is bad, walk the plank. "

# If no weights_list has been provided (and therefore no optimal
Expand Down

0 comments on commit 4fe476b

Please sign in to comment.