Skip to content

Commit

Permalink
Update dkist/wcs/models.py
Browse files Browse the repository at this point in the history
Co-authored-by: Stuart Mumford <[email protected]>
  • Loading branch information
SolarDrew and Cadair committed Jul 17, 2024
1 parent 05f27fe commit 29aa7c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dkist/wcs/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def update_celestial_transform_parameters(
-crpix[0],
-crpix[1],
pc,
transform[2].translation.value * pc.unit if hasattr(pc, "unit") else transform[2].translation.value,
transform[2].translation.quantity if hasattr(pc, "unit") else transform[2].translation.value,
cdelt[0],
cdelt[1],
crval[0],
Expand Down

0 comments on commit 29aa7c8

Please sign in to comment.