mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-28 12:51:29 +08:00
BUG: Do not try to set non-existent items.
This commit is contained in:
1 parent
aca338c9e5
commit
33c23af503
1 file changed
+2
@@ -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