mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-19 11:22:06 +08:00
ENH: allows any iterator to be the return of load_adjusted_arrays
This commit is contained in:
@@ -339,9 +339,9 @@ class SimplePipelineEngine(object):
|
||||
key=lambda t: t.dataset
|
||||
)
|
||||
loader = get_loader(term)
|
||||
loaded = loader.load_adjusted_array(
|
||||
loaded = tuple(loader.load_adjusted_array(
|
||||
to_load, mask_dates, assets, mask,
|
||||
)
|
||||
))
|
||||
assert len(to_load) == len(loaded)
|
||||
for loaded_term, adj_array in zip_longest(to_load, loaded):
|
||||
workspace[loaded_term] = adj_array
|
||||
|
||||
Reference in New Issue
Block a user