You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On 11/1-2/2020, there were two slides. The first was around 19:25 on 11/1, and the second was around 03:00 on 11/2. Only the first of these two slides shows up on the output.
It's probably a simple change to look for additional slides during a critical period.
The text was updated successfully, but these errors were encountered:
defget_relevant_slide(readings, known_slides):
"""If there's a relevant slide during this set of readings, return that slide. Otherwise, return None. """relevant_slide=Noneforslideinknown_slides:
ifreadings[0].dt_reading<=slide.dt_slide<=readings[-1].dt_reading:
print(f"Slide in range: {slide.name} - {slide.dt_slide}")
relevant_slide=slidebreakreturnrelevant_slide
This needs to be modified to get_relevant_slides(), and the caller needs to process the multiple slides.
On 11/1-2/2020, there were two slides. The first was around 19:25 on 11/1, and the second was around 03:00 on 11/2. Only the first of these two slides shows up on the output.
It's probably a simple change to look for additional slides during a critical period.
The text was updated successfully, but these errors were encountered: