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] authored and stscieisenhamer committed Dec 3, 2024
1 parent cafdf4c commit 61e2b8d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions romancal/assign_wcs/pointing.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,11 @@ def dva_corr_model(va_scale, v2_ref, v3_ref):
return Identity(2)

if va_scale <= 0:
log.warning('Given velocity aberration scale %s', va_scale)
log.warning('Velocity aberration scale must be a positive number. Setting to 1.0')
va_scale = 1.
log.warning("Given velocity aberration scale %s", va_scale)
log.warning(
"Velocity aberration scale must be a positive number. Setting to 1.0"
)
va_scale = 1.0

va_corr = Scale(va_scale, name="dva_scale_v2") & Scale(
va_scale, name="dva_scale_v3"
Expand Down

0 comments on commit 61e2b8d

Please sign in to comment.