Skip to content

Commit

Permalink
Fix code style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Apr 5, 2022
1 parent 2d6382e commit f17a068
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion reproject/adaptive/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from .deforest import map_coordinates
from ..wcs_utils import (efficient_pixel_to_pixel_with_roundtrip,
efficient_pixel_to_pixel)
efficient_pixel_to_pixel)


__all__ = ['_reproject_adaptive_2d']
Expand Down
4 changes: 2 additions & 2 deletions reproject/adaptive/tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def test_reproject_adaptive_roundtrip(file_format):
data, wcs, target_wcs = prepare_test_data(file_format)

output, footprint = reproject_adaptive((data, wcs), target_wcs, (128, 128),
center_jacobian=True)
center_jacobian=True)

header_out = target_wcs.to_header()

Expand All @@ -250,7 +250,7 @@ def test_reproject_adaptive_uncentered_jacobian():
data, wcs, target_wcs = prepare_test_data('fits')

output, footprint = reproject_adaptive((data, wcs), target_wcs, (128, 128),
center_jacobian=False)
center_jacobian=False)

header_out = target_wcs.to_header()

Expand Down
2 changes: 1 addition & 1 deletion reproject/interpolation/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from ..array_utils import map_coordinates
from ..wcs_utils import (efficient_pixel_to_pixel_with_roundtrip,
efficient_pixel_to_pixel, has_celestial)
efficient_pixel_to_pixel, has_celestial)


def _validate_wcs(wcs_in, wcs_out, shape_out):
Expand Down
4 changes: 2 additions & 2 deletions reproject/interpolation/high_level.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@ def reproject_interp(input_data, output_projection, shape_out=None, hdu_in=0,
order = ORDER[order]

return _reproject_full(array_in, wcs_in, wcs_out, shape_out=shape_out,
order=order, array_out=output_array,
return_footprint=return_footprint, roundtrip_coords=roundtrip_coords)
order=order, array_out=output_array,
return_footprint=return_footprint, roundtrip_coords=roundtrip_coords)

0 comments on commit f17a068

Please sign in to comment.