mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-17 11:25:55 +08:00
BUG: Do not try to set non-existent items.
This commit is contained in:
committed by
Eddie Hebert
parent
aca338c9e5
commit
33c23af503
@@ -520,6 +520,8 @@ class BatchTransform(object):
|
||||
if self.supplemental_data:
|
||||
for item in data.items:
|
||||
# axes[1] (minor axis) will be a date stamp
|
||||
if item not in self.supplemental_data.major_axis:
|
||||
continue
|
||||
for dt in data.axes[1]:
|
||||
try:
|
||||
supplemental_for_date = self.supplemental_data[dt]
|
||||
|
||||
Reference in New Issue
Block a user