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 Jul 17, 2024
1 parent e49a326 commit 0f6d114
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions flint/coadd/linmos.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,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
2 changes: 1 addition & 1 deletion tests/test_linmos_coadd.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
some of trhe helper functions around it.
"""

import pytest
from pathlib import Path

import numpy as np
import pytest
from astropy.io import fits

from flint.coadd.linmos import BoundingBox, create_bound_box, trim_fits_image
Expand Down

0 comments on commit 0f6d114

Please sign in to comment.