From beae2bf54606c4068311ecf28c0e097d722059ac Mon Sep 17 00:00:00 2001 From: Simon Torres Date: Thu, 12 Aug 2021 09:19:19 -0400 Subject: [PATCH] Renamed astropy's model BlackBody1D to BlackBody to be updated with parent library --- goodman_pipeline/core/tests/test_core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/goodman_pipeline/core/tests/test_core.py b/goodman_pipeline/core/tests/test_core.py index 4229a2dc..53636df5 100644 --- a/goodman_pipeline/core/tests/test_core.py +++ b/goodman_pipeline/core/tests/test_core.py @@ -922,7 +922,7 @@ def test_extraction_moffat(self): np.testing.assert_array_almost_equal(extracted, self.reference_result_moffat) def test_extraction_not_implemented_model(self): - spatial_profile = models.BlackBody1D() + spatial_profile = models.BlackBody() self.assertRaises(NotImplementedError, extraction, ccd=self.fake_image, target_trace=self.target_trace, spatial_profile=spatial_profile, @@ -2281,7 +2281,7 @@ def test_trace_not_implemented(self): self.assertRaises(NotImplementedError, trace, self.ccd2, - models.BlackBody1D(), + models.BlackBody(), trace_model, fitter, 5)