diff --git a/jwst/lib/tests/test_siafdb.py b/jwst/lib/tests/test_siafdb.py index 6bbf22da4a..f518f775e8 100644 --- a/jwst/lib/tests/test_siafdb.py +++ b/jwst/lib/tests/test_siafdb.py @@ -3,10 +3,10 @@ import os from pathlib import Path import pytest +import pysiaf from jwst.lib import siafdb -import pysiaf # type: ignore[import-not-found] # noqa: E402 # Database paths DATA_PATH = Path(__file__).parent / 'data' @@ -53,19 +53,23 @@ def test_create(source, prd, xml_path, exception, jail_environ): ('FGS1_FULL_OSS', False, siafdb.SIAF(v2_ref=206.407, v3_ref=-697.765, v3yangle=-1.24120427, vparity=1, crpix1=1024.5, crpix2=1024.5, cdelt1=0.06839158, cdelt2=0.06993081, - vertices_idl=(-68.8543, 70.1233, 71.5697, -70.2482, 72.1764, 68.8086, -75.5918, -70.7457))), + vertices_idl=(-68.8543, 70.1233, 71.5697, -70.2482, 72.1764, 68.8086, + -75.5918, -70.7457))), ('FGS2_FULL_OSS', False, siafdb.SIAF(v2_ref=22.865, v3_ref=-699.28, v3yangle=0.2914828, vparity=1, crpix1=1024.5, crpix2=1024.5, cdelt1=0.06787747, cdelt2=0.06976441, - vertices_idl=(-70.7843, 69.9807, 68.6042, -69.4153, -74.3558, -71.5516, 71.3065, 69.3639))), + vertices_idl=(-70.7843, 69.9807, 68.6042, -69.4153, -74.3558, -71.5516, + 71.3065, 69.3639))), ('MIRIM_TAMRS', False, siafdb.SIAF(v2_ref=-481.987342, v3_ref=-318.206242, v3yangle=4.83544897, vparity=-1, crpix1=24.5, crpix2=24.5, cdelt1=0.10986808, cdelt2=0.10996394, - vertices_idl=(-2.6187, 2.6558, 2.6186, -2.6535, -2.6097, -2.6715, 2.6068, 2.6683))), + vertices_idl=(-2.6187, 2.6558, 2.6186, -2.6535, -2.6097, -2.6715, + 2.6068, 2.6683))), ('MIRIM_TAMRS', True, siafdb.SIAF(v2_ref=-481.987342, v3_ref=-318.206242, v3yangle=4.83544897, vparity=-1, crpix1=997.5, crpix2=993.5, cdelt1=0.10986808, cdelt2=0.10996394, - vertices_idl=(-2.6187, 2.6558, 2.6186, -2.6535, -2.6097, -2.6715, 2.6068, 2.6683))), + vertices_idl=(-2.6187, 2.6558, 2.6186, -2.6535, -2.6097, -2.6715, + 2.6068, 2.6683))), ] ) def test_get_wcs(aperture, to_detector, expected):