Skip to content

Commit

Permalink
Update test_select_time_slice.py
Browse files Browse the repository at this point in the history
# Pull Request

## Description

This PR removes `max_steps_gap` and `fill_selection` parameters and `_sel_fillinterp()` and `_sel_fillnan()` as they are no longer required for training.

Fixes openclimatefix#107

## Checklist:

- [.] My code follows [OCF's coding style guidelines](https://github.com/openclimatefix/.github/blob/main/coding_style.md)
- [.] I have performed a self-review of my own code
- [ ] I have made corresponding changes to the documentation
- [ ] I have added tests that prove my fix is effective or that my feature works
- [.] I have checked my code and corrected any misspellings
  • Loading branch information
pvprajwal committed Jan 9, 2025
1 parent ad6d738 commit 81ece32
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/select/test_select_time_slice.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ def test_select_time_slice_out_of_bounds(da_sat_like, t0_str):
interval_start=interval_start,
interval_end=interval_end,
sample_period_duration=freq,
fill_selection=True
)

# Check the returned times are as expected
Expand Down

0 comments on commit 81ece32

Please sign in to comment.