Skip to content

Commit

Permalink
BUG: fixed typo
Browse files Browse the repository at this point in the history
Fixed a typo in the new `iloc` call.
  • Loading branch information
aburrell committed Aug 13, 2024
1 parent c2f9f32 commit 2c5a0ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysatSpaceWeather/tests/test_methods_kp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])

Expand Down

0 comments on commit 2c5a0ec

Please sign in to comment.