Fixes bug that .run() could not be called twice on an algorithm. Added unittest to check.

This commit is contained in:
Thomas Wiecki
2012-10-19 11:47:59 -05:00
parent 943a56322e
commit 92f1dbef0c
2 changed files with 9 additions and 0 deletions
+1
View File
@@ -153,6 +153,7 @@ start and end date have to be specified."""
self.sources = source
# Create transforms by wrapping them into StatefulTransforms
self.transforms = []
for namestring, trans_descr in self.registered_transforms.iteritems():
sf = StatefulTransform(
trans_descr['class'],