Skip to content

Commit

Permalink
black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwest-uw committed Jan 15, 2025
1 parent 4756239 commit 85ba826
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/kbmod/work_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,9 @@ def image_positions_to_original_icrs(
location = EarthLocation.of_site("ctio")

inverted_coords = []
for coord, ind, obstime, geo_dist in zip(position_reprojected_coords, image_indices, obstimes, geo_dists):
for coord, ind, obstime, geo_dist in zip(
position_reprojected_coords, image_indices, obstimes, geo_dists
):
inverted_coord = invert_correct_parallax(
coord=coord,
obstime=Time(obstime, format="mjd"),
Expand Down
2 changes: 1 addition & 1 deletion tests/test_work_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ def test_image_positions_to_original_icrs_non_ebd(self):
# since our test `WorkUnit` uses the same wcs for
# the original per_image_wcs and then shifts them
# for the ebd case (effectively opposite our normal
# order of operations) we check that the xy->xy
# order of operations) we check that the xy->xy
# transformation is a no-op when frame is original.
for r, e in zip(res, self.pixel_positions):
rx, ry = r[0]
Expand Down

0 comments on commit 85ba826

Please sign in to comment.