From 8b4552a8872cfc9305cc17a5bd6b106b9f9d6888 Mon Sep 17 00:00:00 2001 From: jfkirk Date: Wed, 17 Jun 2015 15:54:19 -0400 Subject: [PATCH] BUG: Completes ConsumeAssetMetaDataError message --- zipline/errors.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zipline/errors.py b/zipline/errors.py index 3632bf18..08e51e9b 100644 --- a/zipline/errors.py +++ b/zipline/errors.py @@ -259,7 +259,9 @@ class ConsumeAssetMetaDataError(ZiplineError): Raised when AssetMetaData.consume() is called on an invalid object. """ msg = """ -AssetMetaData can not consume {obj}. MetaData must be a dict, a DataFrame, or +AssetFinder can not consume metadata of type {obj}. Metadata must be a dict, a +DataFrame, or a tables.Table. If the provided metadata is a Table, the rows +must contain both or one of 'sid' or 'symbol'. """.strip()