From 460b2d3687d54af74d488a3d858d2030bff87c39 Mon Sep 17 00:00:00 2001 From: Henry-Best-01 Date: Wed, 9 Oct 2024 16:27:35 +0200 Subject: [PATCH] making testing light curves which were lists into arrays for compatability --- tests/test_Source/test_agn.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_Source/test_agn.py b/tests/test_Source/test_agn.py index f67ae26a5..78b30ab39 100644 --- a/tests/test_Source/test_agn.py +++ b/tests/test_Source/test_agn.py @@ -201,12 +201,12 @@ def test_random_agn(): ) light_curve_1 = { - "MJD": [0, 1, 2, 3, 4, 5], - "ps_mag_intrinsic": [1, 0, -1, 0, 1, 0], + "MJD": np.asarray([0, 1, 2, 3, 4, 5]), + "ps_mag_intrinsic": np.asarray([1, 0, -1, 0, 1, 0]), } light_curve_2 = { - "MJD": [0, 1, 2, 3, 4, 5], - "ps_mag_intrinsic": [1, 0, 1, 0, 1, 0], + "MJD": np.asarray([0, 1, 2, 3, 4, 5]), + "ps_mag_intrinsic": np.asarray([1, 0, 1, 0, 1, 0]), } input_agn_bounds_dict["intrinsic_light_curve"] = [light_curve_1, light_curve_2]