Skip to content

Commit

Permalink
Need units on parameters for updating vct some of the time
Browse files Browse the repository at this point in the history
Not sure how this snuck past the tests in the first place
  • Loading branch information
SolarDrew committed Jun 6, 2024
1 parent 86671cb commit adee6da
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,
transform[2].translation.value * pc.unit if hasattr(pc, "unit") else transform[2].translation.value,
cdelt[0],
cdelt[1],
crval[0],
Expand Down

0 comments on commit adee6da

Please sign in to comment.