From 2c5a0ec3b34199dbe167d4ab2057bab57905a312 Mon Sep 17 00:00:00 2001 From: Angeline Burrell Date: Tue, 13 Aug 2024 11:29:42 -0400 Subject: [PATCH] BUG: fixed typo Fixed a typo in the new `iloc` call. --- pysatSpaceWeather/tests/test_methods_kp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pysatSpaceWeather/tests/test_methods_kp.py b/pysatSpaceWeather/tests/test_methods_kp.py index e6e830a..8e6c80e 100644 --- a/pysatSpaceWeather/tests/test_methods_kp.py +++ b/pysatSpaceWeather/tests/test_methods_kp.py @@ -395,7 +395,7 @@ def test_convert_ap_to_kp_middle(self): """Test conversion of ap to Kp where ap is not an exact Kp value.""" kp_ap.convert_3hr_kp_to_ap(self.testInst) - new_val = self.testInst['3hr_ap']iloc[8] + 1 + new_val = self.testInst['3hr_ap'].iloc[8] + 1 self.testInst.data.at[self.testInst.index[8], '3hr_ap'] = new_val kp_out, kp_meta = kp_ap.convert_ap_to_kp(self.testInst['3hr_ap'])