From d17c5fd2d712ef6f07296be87d63ce065ab99a13 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 26 Nov 2024 17:16:26 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- romancal/assign_wcs/pointing.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/romancal/assign_wcs/pointing.py b/romancal/assign_wcs/pointing.py index c5dd2e3b5..ad9449f05 100644 --- a/romancal/assign_wcs/pointing.py +++ b/romancal/assign_wcs/pointing.py @@ -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"