Skip to content

Commit

Permalink
Merge pull request #114 from papaemman/bug/weekly-exploration-failure
Browse files Browse the repository at this point in the history
bug #112: support for weekly frequency
  • Loading branch information
shahsmit14 authored Sep 29, 2022
2 parents 580318c + c6f1a63 commit 0af6a34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions luminaire/exploration/data_exploration.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ def __init__(self,
tc_window_len_dict = {
'H': 24,
'D': 7,
'W':4
}

if freq in ['H', 'D']:
self.tc_window_length = tc_window_len_dict.get(freq)
self.tc_window_length = tc_window_len_dict.get(freq) if freq in ['H', 'D', 'W'] else None

self.tc_max_window_length = 24

Expand Down

0 comments on commit 0af6a34

Please sign in to comment.