BUG: Ensure that window length value is sanity checked.

When moving BatchTransform off of EventWindow as a base object,
the checking of window length was lost, restore that check using
the same function as EventWindow.
This commit is contained in:
Eddie Hebert
2013-04-29 15:30:42 -04:00
parent c12102d7b1
commit 38ae8bbb67
+3
View File
@@ -367,7 +367,10 @@ class BatchTransform(object):
self.field_names = set()
self.refresh_period = refresh_period
check_window_length(window_length)
self.window_length = window_length
self.trading_days_total = 0
self.window = None